akar-common 0.1.21

Shared types and utilities for the Akar embedded graph database
Documentation
# src/file_system.rs

- FileSystem · interface · L10-L28 — pub trait FileSystem: Send + Sync
- can_handle · function · L12-L12 — fn can_handle(&self, path: &str) -> bool;
- open_read · function · L15-L15 — fn open_read(&self, path: &str) -> std::io::Result<Box<dyn FileRead>>;
- open_write · function · L18-L18 — fn open_write(&self, path: &str) -> std::io::Result<Box<dyn FileWrite>>;
- exists · function · L21-L21 — fn exists(&self, path: &str) -> bool;
- remove · function · L24-L24 — fn remove(&self, path: &str) -> std::io::Result<()>;
- create_dir_all · function · L27-L27 — fn create_dir_all(&self, path: &str) -> std::io::Result<()>;
- FileRead · interface · L31-L31 — pub trait FileRead: Read + Seek + Send {}
- FileWrite · interface · L34-L34 — pub trait FileWrite: Write + Seek + Send {}
- LocalFileSystem · struct · L38-L38 — pub struct LocalFileSystem;
- can_handle · function · L41-L44 — fn can_handle(&self, _path: &str) -> bool
- open_read · function · L46-L48 — fn open_read(&self, path: &str) -> std::io::Result<Box<dyn FileRead>>
- open_write · function · L50-L52 — fn open_write(&self, path: &str) -> std::io::Result<Box<dyn FileWrite>>
- exists · function · L54-L56 — fn exists(&self, path: &str) -> bool
- remove · function · L58-L60 — fn remove(&self, path: &str) -> std::io::Result<()>
- create_dir_all · function · L62-L64 — fn create_dir_all(&self, path: &str) -> std::io::Result<()>
- VirtualFileSystemRegistry · struct · L73-L76 — pub struct VirtualFileSystemRegistry
- default · function · L79-L81 — fn default() -> Self
- new · function · L85-L90 — pub fn new() -> Self
- register_file_system · function · L92-L95 — pub fn register_file_system(&self, fs: Box<dyn FileSystem>)
- open_read · function · L97-L105 — pub fn open_read(&self, path: &str) -> std::io::Result<Box<dyn FileRead>>
- open_write · function · L107-L115 — pub fn open_write(&self, path: &str) -> std::io::Result<Box<dyn FileWrite>>
- exists · function · L117-L125 — pub fn exists(&self, path: &str) -> bool
- remove · function · L127-L135 — pub fn remove(&self, path: &str) -> std::io::Result<()>
- create_dir_all · function · L137-L145 — pub fn create_dir_all(&self, path: &str) -> std::io::Result<()>