Struct git_repository::index::extension::untracked_cache::Directory
source · pub struct Directory {
pub name: BString,
pub untracked_entries: Vec<BString, Global>,
pub sub_directories: Vec<usize, Global>,
pub stat: Option<Stat>,
pub exclude_file_oid: Option<ObjectId>,
pub check_only: bool,
}
Expand description
A directory with information about its untracked files, and its sub-directories
Fields§
§name: BString
The directories name, or an empty string if this is the root directory.
untracked_entries: Vec<BString, Global>
Untracked files and directory names
sub_directories: Vec<usize, Global>
indices for sub-directories similar to this one.
stat: Option<Stat>
The directories stat data, if available or valid // TODO: or is it the exclude file?
exclude_file_oid: Option<ObjectId>
The oid of a .gitignore file, if it exists
check_only: bool
TODO: figure out what this really does