pub struct WorkspaceScanner { /* private fields */ }Implementations§
Source§impl WorkspaceScanner
impl WorkspaceScanner
pub fn new(root: impl Into<PathBuf>) -> Self
pub fn canonical_root(&self) -> &Path
pub fn scan(&self) -> Result<Vec<OntologyFile>>
Sourcepub fn describe_path(&self, path: &Path) -> Result<OntologyFile>
pub fn describe_path(&self, path: &Path) -> Result<OntologyFile>
Describe a single ontology file on disk (hash, format, mtime).
Auto Trait Implementations§
impl Freeze for WorkspaceScanner
impl RefUnwindSafe for WorkspaceScanner
impl Send for WorkspaceScanner
impl Sync for WorkspaceScanner
impl Unpin for WorkspaceScanner
impl UnsafeUnpin for WorkspaceScanner
impl UnwindSafe for WorkspaceScanner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more