pub struct AuthoritativePathEntry {
pub namespace_id: NamespaceId,
pub absolute_path: AbsolutePath,
pub inode_id: InodeId,
pub inode_kind: InodeKind,
pub head_seq: ChangeSeq,
pub parent_inode_id: Option<InodeId>,
pub display_name: Option<DisplayName>,
pub revision_no: Option<RevisionNo>,
pub size_bytes: Option<u64>,
pub content_ref: Option<ContentRef>,
pub committed_at_ms: Option<u64>,
}Expand description
Authoritative metadata for one visible path.
This is the result shape for stat/list style reads. File entries include revision and content summary fields; directory entries leave those empty.
Fields§
§namespace_id: NamespaceIdNamespace that was read.
absolute_path: AbsolutePathAbsolute path as rendered from stored display names.
inode_id: InodeIdStable inode identity for this item.
inode_kind: InodeKindWhether the item is a file or directory.
head_seq: ChangeSeqNamespace head sequence this answer was read from.
parent_inode_id: Option<InodeId>Parent directory inode, or None for the root.
display_name: Option<DisplayName>Stored display name for this path component, absent for the nameless root.
revision_no: Option<RevisionNo>Current file revision number, for files.
size_bytes: Option<u64>Current file size in bytes, for files.
content_ref: Option<ContentRef>Current content reference, for files.
committed_at_ms: Option<u64>Wall-clock stamp of the commit that created the current revision,
for files; directories carry no modification time in v0.
Observational: head_seq and revision sequences are the order.
Trait Implementations§
Source§impl Clone for AuthoritativePathEntry
impl Clone for AuthoritativePathEntry
Source§fn clone(&self) -> AuthoritativePathEntry
fn clone(&self) -> AuthoritativePathEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more