Trait libpijul::TxnTExt [−][src]
Provided methods
fn is_directory(&self, inode: Inode) -> Result<bool, Self::TreeError>
[src]
fn is_tracked(&self, path: &str) -> Result<bool, Self::TreeError>
[src]
fn iter_working_copy(&self) -> WorkingCopyIterator<'_, Self>ⓘ
[src]
fn has_change(
&self,
channel: &ChannelRef<Self>,
hash: &Hash
) -> Result<Option<u64>, Self::GraphError>
[src]
&self,
channel: &ChannelRef<Self>,
hash: &Hash
) -> Result<Option<u64>, Self::GraphError>
fn is_alive(
&self,
channel: &Self::Channel,
a: &Vertex<ChangeId>
) -> Result<bool, Self::GraphError>
[src]
&self,
channel: &Self::Channel,
a: &Vertex<ChangeId>
) -> Result<bool, Self::GraphError>
fn current_state(
&self,
channel: &Self::Channel
) -> Result<Merkle, Self::GraphError>
[src]
&self,
channel: &Self::Channel
) -> Result<Merkle, Self::GraphError>
fn log<'channel, 'txn>(
&'txn self,
channel: &'channel Self::Channel,
from: u64
) -> Result<Log<'txn, Self>, Self::GraphError>
[src]
&'txn self,
channel: &'channel Self::Channel,
from: u64
) -> Result<Log<'txn, Self>, Self::GraphError>
fn log_for_path<'channel, 'txn>(
&'txn self,
channel: &'channel Self::Channel,
pos: Position<ChangeId>,
from: u64
) -> Result<PathChangeset<'channel, 'txn, Self>, Self::GraphError>
[src]
&'txn self,
channel: &'channel Self::Channel,
pos: Position<ChangeId>,
from: u64
) -> Result<PathChangeset<'channel, 'txn, Self>, Self::GraphError>
fn rev_log_for_path<'channel, 'txn>(
&'txn self,
channel: &'channel Self::Channel,
pos: Position<ChangeId>,
from: u64
) -> Result<RevPathChangeset<'channel, 'txn, Self>, Self::DepsError>
[src]
&'txn self,
channel: &'channel Self::Channel,
pos: Position<ChangeId>,
from: u64
) -> Result<RevPathChangeset<'channel, 'txn, Self>, Self::DepsError>
fn reverse_log<'channel, 'txn>(
&'txn self,
channel: &'channel Self::Channel,
from: Option<u64>
) -> Result<RevLog<'txn, Self>, Self::GraphError>
[src]
&'txn self,
channel: &'channel Self::Channel,
from: Option<u64>
) -> Result<RevLog<'txn, Self>, Self::GraphError>
fn changeid_reverse_log<'txn>(
&'txn self,
channel: &Self::Channel,
from: Option<L64>
) -> Result<RevCursor<Self, &'txn Self, Self::RevchangesetCursor, L64, Pair<ChangeId, SerializedMerkle>>, Self::GraphError>
[src]
&'txn self,
channel: &Self::Channel,
from: Option<L64>
) -> Result<RevCursor<Self, &'txn Self, Self::RevchangesetCursor, L64, Pair<ChangeId, SerializedMerkle>>, Self::GraphError>
fn get_changes(
&self,
channel: &ChannelRef<Self>,
n: u64
) -> Result<Option<(Hash, Merkle)>, Self::GraphError>
[src]
&self,
channel: &ChannelRef<Self>,
n: u64
) -> Result<Option<(Hash, Merkle)>, Self::GraphError>
fn get_revchanges(
&self,
channel: &ChannelRef<Self>,
h: &Hash
) -> Result<Option<u64>, Self::GraphError>
[src]
&self,
channel: &ChannelRef<Self>,
h: &Hash
) -> Result<Option<u64>, Self::GraphError>
fn touched_files(
&self,
h: &Hash
) -> Result<Option<Touched<'_, Self>>, Self::DepsError>
[src]
&self,
h: &Hash
) -> Result<Option<Touched<'_, Self>>, Self::DepsError>
fn find_oldest_path<C: ChangeStore>(
&self,
changes: &C,
channel: &ChannelRef<Self>,
position: &Position<Hash>
) -> Result<Option<(String, bool)>, FileError<C::Error, Self::GraphError>>
[src]
&self,
changes: &C,
channel: &ChannelRef<Self>,
position: &Position<Hash>
) -> Result<Option<(String, bool)>, FileError<C::Error, Self::GraphError>>
fn find_youngest_path<C: ChangeStore>(
&self,
changes: &C,
channel: &ChannelRef<Self>,
position: Position<Hash>
) -> Result<Option<(String, bool)>, FileError<C::Error, Self::GraphError>>
[src]
&self,
changes: &C,
channel: &ChannelRef<Self>,
position: Position<Hash>
) -> Result<Option<(String, bool)>, FileError<C::Error, Self::GraphError>>
fn follow_oldest_path<C: ChangeStore>(
&self,
changes: &C,
channel: &ChannelRef<Self>,
path: &str
) -> Result<(Position<ChangeId>, bool), FsErrorC<C::Error, Self::GraphError>>
[src]
&self,
changes: &C,
channel: &ChannelRef<Self>,
path: &str
) -> Result<(Position<ChangeId>, bool), FsErrorC<C::Error, Self::GraphError>>
fn output_file<C: ChangeStore, V: VertexBuffer>(
&self,
changes: &C,
channel: &ChannelRef<Self>,
v0: Position<ChangeId>,
out: &mut V
) -> Result<(), FileError<C::Error, Self::GraphError>>
[src]
&self,
changes: &C,
channel: &ChannelRef<Self>,
v0: Position<ChangeId>,
out: &mut V
) -> Result<(), FileError<C::Error, Self::GraphError>>
fn archive<C: ChangeStore, A: Archive>(
&self,
changes: &C,
channel: &ChannelRef<Self>,
arch: &mut A
) -> Result<Vec<Conflict>, ArchiveError<C::Error, Self::GraphError, A::Error>>
[src]
&self,
changes: &C,
channel: &ChannelRef<Self>,
arch: &mut A
) -> Result<Vec<Conflict>, ArchiveError<C::Error, Self::GraphError, A::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>, ArchiveError<C::Error, Self::GraphError, A::Error>>
[src]
&self,
changes: &C,
channel: &ChannelRef<Self>,
prefix: &mut I,
arch: &mut A
) -> Result<Vec<Conflict>, ArchiveError<C::Error, Self::GraphError, A::Error>>
fn iter_adjacent<'txn>(
&'txn self,
graph: &'txn Self::Channel,
key: Vertex<ChangeId>,
min_flag: EdgeFlags,
max_flag: EdgeFlags
) -> Result<AdjacentIterator<'txn, Self>, TxnErr<Self::GraphError>>
[src]
&'txn self,
graph: &'txn Self::Channel,
key: Vertex<ChangeId>,
min_flag: EdgeFlags,
max_flag: EdgeFlags
) -> Result<AdjacentIterator<'txn, Self>, TxnErr<Self::GraphError>>