pub struct Scan {
pub entries: Vec<Entry>,
pub skipped_cache: Vec<SkipRecord>,
pub skipped_secret: Vec<SkipRecord>,
pub symlinks: Vec<SymlinkRecord>,
pub claude: ClaudeInfo,
pub worktrees: Vec<WorktreeRecord>,
}Expand description
Result of classifying a project root.
Fields§
§entries: Vec<Entry>Everything that will be written to the archive, in walk order.
skipped_cache: Vec<SkipRecord>Cache directories that were dropped.
skipped_secret: Vec<SkipRecord>Secret-looking files that were dropped and reported.
symlinks: Vec<SymlinkRecord>Symlinks outside .claude/, recorded individually.
claude: ClaudeInfoAggregate view of .claude/.
worktrees: Vec<WorktreeRecord>Registered git worktrees discovered under .git/worktrees/.
Implementations§
Source§impl Scan
impl Scan
Sourcepub fn total_bytes(&self) -> u64
pub fn total_bytes(&self) -> u64
Total byte count of regular files to be packed.
Sourcepub fn file_count(&self) -> u64
pub fn file_count(&self) -> u64
Number of regular files to be packed.
Sourcepub fn symlink_count(&self) -> u64
pub fn symlink_count(&self) -> u64
Number of symlinks to be packed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scan
impl RefUnwindSafe for Scan
impl Send for Scan
impl Sync for Scan
impl Unpin for Scan
impl UnsafeUnpin for Scan
impl UnwindSafe for Scan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more