mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
handle construction results, separate index methods
This commit is contained in:
parent
e60a00c500
commit
611addda42
9 changed files with 105 additions and 40 deletions
5
src/profile/identity/gemini/auth/error.rs
Normal file
5
src/profile/identity/gemini/auth/error.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
DatabaseIndex,
|
||||
MemoryIndex,
|
||||
}
|
||||
|
|
@ -33,11 +33,10 @@ impl Memory {
|
|||
}
|
||||
}
|
||||
|
||||
/* @TODO update feature
|
||||
/// Cleanup index
|
||||
pub fn clear(&self, url: &str) {
|
||||
pub fn clear(&self) {
|
||||
self.index.borrow_mut().clear()
|
||||
} */
|
||||
}
|
||||
|
||||
/// Get `profile_identity_gemini_id` vector match given `request`
|
||||
/// * [Client certificates specification](https://geminiprotocol.net/docs/protocol-specification.gmi#client-certificates)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue