Skip to main content

Module environment

Module environment 

Source

Structs§

ExecResult
Result from command execution
FileEntry
Entry in a directory listing
GrepMatch
Match result from grep operation
NullEnvironment
A null environment that rejects all operations. Useful as a default when no environment is configured.

Traits§

Environment
Environment abstraction for file and command operations.

Functions§

normalize_path
Lexically normalize a path by resolving . and .. components without hitting the filesystem.
normalize_path_buf
Lexically normalize a path, returning a PathBuf.