Module tvix_castore::path::component

source ·

Structs§

  • 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).

Enums§

Constants§

  • The maximum length an individual path component can have. Linux allows 255 bytes of actual name, so we pick that.

Functions§