Crate tvix_castore

source ·

Modules§

Structs§

  • 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 wrapper type for symlink targets. Internally uses a bytes::Bytes, but disallows empty targets and those containing null bytes.

Enums§

Constants§

Type Aliases§