Skip to main content

Crate codewalk

Crate codewalk 

Source
Expand description

Compatibility facade for scanner-oriented walking.

New code should depend on walkkit directly.

Modules§

detect
Binary file detection via magic bytes.
error
Error types for code tree walking and content loading.
filter
File filtering using include and exclude glob patterns.
probe
Shared file probing and enrichment primitives.
sandbox
Code protocol sandbox execution helpers.

Structs§

CodeWalker
File tree walker for codebase scanning.
FileContentChunks
Iterator over a file’s content in bounded chunks.
FileEntry
A discovered file entry with lazy content loading.
WalkConfig
Configuration for directory walking.
WalkError
A filesystem error encountered during traversal (always reported, never swallowed).
WalkedFile
A discovered file with its path and essential metadata.
Walker
Builder and configuration for parallel file discovery.

Enums§

Error
Errors returned by walkkit operations.
FileContent
File content loaded from disk.
WalkItem
One element from a directory walk: a file candidate or a traversal error.
WalkOp
What the walker was doing when an I/O error occurred.

Constants§

MAX_WALK_PATH_BYTES
Maximum byte length of any path we traverse or emit (bound TOCTOU / kernel limits).