Type Definition libpijul::pristine::sanakirja::MutTxn[][src]

pub type MutTxn<T> = GenericTxn<MutTxn<Arc<Env>, T>>;

Trait Implementations

Add a change and a timestamp to a change table. Returns None if and only if (p, t) was already in the change table, in which case no insertion happened. Returns the new state else.

Delete a change from a change table. Returns true if and only if (p, t) was in the change table.

Insert a key and a value to a graph. Returns false if and only if (k, v) was already in the graph, in which case no insertion happened.

Delete a key and a value from a graph. Returns true if and only if (k, v) was in the graph.

Split a key [a, b[ at position pos, yielding two keys [a, pos[ and [pos, b[ linked by an edge. Read more

Open a channel, creating it if it is missing. The return type is a Rc<RefCell<…>> in order to avoid: Read more

Commit this transaction.

Register a file in the working copy, where the file is given by its path from the root of the repository, where the components of the path are separated by / (example path: a/b/c). Read more

Register a directory in the working copy, where the directory is given by its path from the root of the repository, where the components of the path are separated by / (example path: a/b/c). Read more

Register a file or directory in the working copy, given by its path from the root of the repository, where the components of the path are separated by / (example path: a/b/c). Read more

Warning: this method unrecords changes until finding the state. If this is not wanted, please fork the channel before calling. Read more