Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

linux: remove todo for credential implementation (#8834)

Christian Bergschneider09760340ca5f
diff --git a/crates/gpui/src/platform/linux/platform.rs b/crates/gpui/src/platform/linux/platform.rs
index 016282b444c..414c1507dc9 100644
--- a/crates/gpui/src/platform/linux/platform.rs
+++ b/crates/gpui/src/platform/linux/platform.rs
@@ -371,7 +371,6 @@ impl Platform for LinuxPlatform {
}
}
- //todo!(linux)
fn write_credentials(&self, url: &str, username: &str, password: &[u8]) -> Task<Result<()>> {
let url = url.to_string();
let username = username.to_string();
@@ -393,7 +392,6 @@ impl Platform for LinuxPlatform {
//todo!(linux): add trait methods for accessing the primary selection
- //todo!(linux)
fn read_credentials(&self, url: &str) -> Task<Result<Option<(String, Vec<u8>)>>> {
let url = url.to_string();
self.background_executor().spawn(async move {
@@ -421,7 +419,6 @@ impl Platform for LinuxPlatform {
})
}
- //todo!(linux)
fn delete_credentials(&self, url: &str) -> Task<Result<()>> {
let url = url.to_string();
self.background_executor().spawn(async move {