pub fn capture(
workspace: &Path,
max_file_bytes: u64,
) -> Result<WorkspaceSnapshot>Expand description
Capture a snapshot of workspace, skipping VCS/ build/ cache directories.
Files larger than max_file_bytes are fingerprinted by size + mtime only
(the head hash is set to 0) to keep capture O(files) rather than O(bytes).