[−][src]Trait libanu::TxnTExt
Provided methods
fn is_directory(&self, inode: Inode) -> bool
fn is_tracked(&self, path: &str) -> bool
fn iter_working_copy<'txn>(&'txn self) -> WorkingCopyIterator<'txn, Self>ⓘNotable traits for WorkingCopyIterator<'txn, T>
impl<'txn, T: TxnT> Iterator for WorkingCopyIterator<'txn, T> type Item = (Inode, String);
Notable traits for WorkingCopyIterator<'txn, T>
impl<'txn, T: TxnT> Iterator for WorkingCopyIterator<'txn, T> type Item = (Inode, String);
fn has_change(&self, channel: &ChannelRef<Self>, hash: Hash) -> Option<u64>
fn log<'channel, 'txn>(
&'txn self,
channel: &'channel Channel<Self>,
from: u64
) -> Log<'txn, Self>ⓘ
&'txn self,
channel: &'channel Channel<Self>,
from: u64
) -> Log<'txn, Self>ⓘ
fn reverse_log<'channel, 'txn>(
&'txn self,
channel: &'channel Channel<Self>,
from: Option<u64>
) -> RevLog<'txn, Self>ⓘ
&'txn self,
channel: &'channel Channel<Self>,
from: Option<u64>
) -> RevLog<'txn, Self>ⓘ
fn get_changes(
&self,
channel: &ChannelRef<Self>,
n: u64
) -> Option<(Hash, Merkle)>
&self,
channel: &ChannelRef<Self>,
n: u64
) -> Option<(Hash, Merkle)>
fn get_revchanges(&self, channel: &ChannelRef<Self>, h: Hash) -> Option<u64>
fn touched_files<'txn>(&'txn self, h: Hash) -> Option<Touched<'txn, Self>>
fn find_oldest_path<C: ChangeStore>(
&self,
changes: &C,
channel: &ChannelRef<Self>,
position: Position<Hash>
) -> Result<(String, bool), Error>
&self,
changes: &C,
channel: &ChannelRef<Self>,
position: Position<Hash>
) -> Result<(String, bool), Error>
fn find_youngest_path<C: ChangeStore>(
&self,
changes: &C,
channel: &ChannelRef<Self>,
position: Position<Hash>
) -> Result<(String, bool), Error>
&self,
changes: &C,
channel: &ChannelRef<Self>,
position: Position<Hash>
) -> Result<(String, bool), Error>
fn follow_oldest_path<C: ChangeStore>(
&self,
changes: &C,
channel: &ChannelRef<Self>,
path: &str
) -> Result<(Position<ChangeId>, bool), Error>
&self,
changes: &C,
channel: &ChannelRef<Self>,
path: &str
) -> Result<(Position<ChangeId>, bool), Error>
fn output_file<C: ChangeStore, V: VertexBuffer>(
&self,
changes: &C,
channel: &ChannelRef<Self>,
v0: Position<ChangeId>,
out: &mut V
) -> Result<(), Error>
&self,
changes: &C,
channel: &ChannelRef<Self>,
v0: Position<ChangeId>,
out: &mut V
) -> Result<(), Error>
fn archive<'a, C: ChangeStore, A: Archive>(
&self,
changes: &C,
channel: &ChannelRef<Self>,
arch: &mut A
) -> Result<Vec<Conflict>, Error>
&self,
changes: &C,
channel: &ChannelRef<Self>,
arch: &mut A
) -> Result<Vec<Conflict>, Error>
fn archive_prefix<'a, C: ChangeStore, I: Iterator<Item = &'a str>, A: Archive>(
&self,
changes: &C,
channel: &ChannelRef<Self>,
prefix: &mut I,
arch: &mut A
) -> Result<Vec<Conflict>, Error>
&self,
changes: &C,
channel: &ChannelRef<Self>,
prefix: &mut I,
arch: &mut A
) -> Result<Vec<Conflict>, Error>