pub struct LocalRepoFileSystem;Expand description
Local filesystem adapter with .gitignore support.
Trait Implementations§
Source§impl Clone for LocalRepoFileSystem
impl Clone for LocalRepoFileSystem
Source§fn clone(&self) -> LocalRepoFileSystem
fn clone(&self) -> LocalRepoFileSystem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalRepoFileSystem
impl Debug for LocalRepoFileSystem
Source§impl Default for LocalRepoFileSystem
impl Default for LocalRepoFileSystem
Source§fn default() -> LocalRepoFileSystem
fn default() -> LocalRepoFileSystem
Returns the “default value” for a type. Read more
Source§impl RepoFileSystem for LocalRepoFileSystem
impl RepoFileSystem for LocalRepoFileSystem
Source§fn read_file(
&self,
root: &RepoRoot,
path: &RepoRelativePath,
) -> Result<Vec<u8>, RepoctlError>
fn read_file( &self, root: &RepoRoot, path: &RepoRelativePath, ) -> Result<Vec<u8>, RepoctlError>
Reads a repo-relative file.
Source§fn walk(
&self,
root: &RepoRoot,
request: &WalkRequest,
) -> Result<Vec<RepoRelativePath>, RepoctlError>
fn walk( &self, root: &RepoRoot, request: &WalkRequest, ) -> Result<Vec<RepoRelativePath>, RepoctlError>
Walks repo-relative files according to the request.
Auto Trait Implementations§
impl Freeze for LocalRepoFileSystem
impl RefUnwindSafe for LocalRepoFileSystem
impl Send for LocalRepoFileSystem
impl Sync for LocalRepoFileSystem
impl Unpin for LocalRepoFileSystem
impl UnsafeUnpin for LocalRepoFileSystem
impl UnwindSafe for LocalRepoFileSystem
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