Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SimranMakhija7 committed Mar 14, 2024
1 parent a4dd7bc commit a78a4ae
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/repository/namespace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ impl NamespaceRepository {
}

pub fn list_all_namespaces(&self) -> io::Result<Vec<String>> {
// This function depends on the specific implementation of MyDB
// and whether it supports listing all keys in a column family.
self.db
.list_all_keys("NamespaceData")
.map_err(|e| io::Error::new(io::ErrorKind::Other, e.to_string()))
Expand Down Expand Up @@ -57,7 +55,5 @@ impl NamespaceRepository {
}

fn current_time() -> String {
// This function returns the current time as a string.
// It's a placeholder and should be replaced with your actual implementation.
"current_time".to_string()
"current_time".to_string()
}

0 comments on commit a78a4ae

Please sign in to comment.