Skip to main content

Crate cuenv_vcs

Crate cuenv_vcs 

Source
Expand description

Pluggable input-file hashing for cuenv.

This crate defines VcsHasher, the trait the task executor uses to resolve declared input patterns (globs, directories, explicit paths) and produce a stable SHA-256 per matched file. The default implementation, WalkHasher, walks the filesystem; VCS-aware implementations (git and friends) can plug in later behind the same trait so the executor doesn’t care how the hashes were obtained.

Re-exports§

pub use error::Error;
pub use error::Result;
pub use hasher::HashedInput;
pub use hasher::VcsHasher;
pub use walker::WalkHasher;

Modules§

error
Errors produced by the VcsHasher implementations.
hasher
The VcsHasher trait.
walker
WalkHasher: a VCS-free VcsHasher implementation.