#[non_exhaustive]pub struct ScannedTree {
pub model: TreeModel,
pub commit: ServerCommit,
pub branch: Ref,
pub tags: Vec<Ref>,
pub compression: Compression,
pub progress: Option<PushProgress>,
}Expand description
A tree that scan_tree walked and hashed, with the checked inputs of
its commit.
A writer that makes the commit itself takes this value in place of a
session. An example is the push of a tree to a bucket repository in the
ostrya crate.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.model: TreeModelThe model of the tree, which is the source of its objects.
commit: ServerCommitThe commit that the options describe.
The root dirtree and the root dirmeta are those of
model. The metadata entries are the bytes of
each value as a v in normal form, in the order of the options. A
commit can hold each value. The branch and the tags are the text of
branch and tags.
branch: RefThe branch, after TreePushOptions::collection applied.
The tags, after TreePushOptions::collection applied.
compression: CompressionThe encoding of the content objects, from
TreePushOptions::compression.
progress: Option<PushProgress>The progress handle, from TreePushOptions::progress.