Module symlink_target

Source

Structs§

SymlinkTarget
A wrapper type for symlink targets. Internally uses a bytes::Bytes, but disallows empty targets and those containing null bytes.

Enums§

SymlinkTargetError
Errors created when constructing / converting to SymlinkTarget.

Constants§

MAX_TARGET_LEN
The maximum length a symlink target can have. Linux allows 4095 bytes here.

Functions§

validate_symlink_target 🔒