Struct libpijul::working_copy::filesystem::FileSystem [−][src]
pub struct FileSystem { /* fields omitted */ }
Implementations
pub fn record_prefixes<T: MutTxnTExt + TxnTExt + Send + Sync + 'static, C: ChangeStore + Clone + Send + 'static, P: AsRef<Path>>(
&self,
txn: ArcTxn<T>,
channel: ChannelRef<T>,
changes: &C,
state: &mut RecordBuilder,
repo_path: CanonicalPathBuf,
prefixes: &[P],
threads: usize,
salt: u64
) -> Result<(), Error<C::Error, T::GraphError>> where
T::Channel: Send + Sync,
pub fn add_prefix_rec<T: MutTxnTExt + TxnTExt>(
&self,
txn: &ArcTxn<T>,
repo_path: CanonicalPathBuf,
full: CanonicalPathBuf,
threads: usize,
salt: u64
) -> Result<(), AddError<T::GraphError>>
pub fn iterate_prefix_rec(
&self,
repo_path: CanonicalPathBuf,
full: CanonicalPathBuf,
threads: usize
) -> Result<Untracked, Error>
pub fn record_prefix<T: MutTxnTExt + TxnTExt + Send + Sync + 'static, C: ChangeStore + Clone + Send + 'static>(
&self,
txn: ArcTxn<T>,
channel: ChannelRef<T>,
changes: &C,
state: &mut RecordBuilder,
repo_path: CanonicalPathBuf,
prefix: &Path,
threads: usize,
salt: u64
) -> Result<(), Error<C::Error, T::GraphError>> where
T::Channel: Send + Sync,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FileSystem
impl Send for FileSystem
impl Sync for FileSystem
impl Unpin for FileSystem
impl UnwindSafe for FileSystem
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self