Skip to main content

Module worktree_ext

Module worktree_ext 

Source
Expand description

9P convenience helpers for WorktreeClient.

Provides high-level file operations that implement the walk/open/read-loop/clunk pattern over the 9P protocol. These replace the old read_file/write_file/mkdir convenience methods that sent entire files in a single message.

Structs§

DirEntryInfo
Directory entry returned by WorktreeClientExt::list_dir_path.
StatResult
Stat result for backward compatibility with callers using the old API.

Traits§

WorktreeClientExt
High-level 9P helpers for the generated Registry worktree client.

Functions§

cow_copy
COW-aware file copy (uses reflink when the filesystem supports it, falls back to a regular copy). Carved out of the main crate’s git::ops with the training checkpoint path — its only caller.