A Directory contains nodes, which can be Directory, File or Symlink nodes.
It attaches names to these nodes, which is the basename in that directory.
These names:
Wraps an existing AsyncRead, and allows querying for the digest of all
data read βthroughβ it.
The hash function is configurable by type parameter.
Represents a Path in the castore model.
These are always relative, and platform-independent, which distinguishes
them from the ones provided in the standard library.
Represents a owned PathBuf in the castore model.
These are always relative, and platform-independent, which distinguishes
them from the ones provided in the standard library.
A wrapper type for validated path components in the castore model.
Internally uses a bytes::Bytes, but disallows
slashes, and null bytes to be present, as well as
β.β, β..β and the empty string.
It also rejects components that are too long (> 255 bytes).
A Node is either a directory, file or symlink.
Nodes themselves donβt have names, what gives them names is either them
being inside a Directory, or a root node with a name attached adjacently.