Documentation ¶
Overview ¶
binpath is a package providing tools for binary paths
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Path ¶
type Path []byte
Path is a path that may contain binary data
func FromBytes ¶
FromBytes converts a byte slice to a path. Arguments should only contain a single path element.
func FromString ¶
FromString converts a string to a path. Arguments should have the format "/home/keks/go", with the leading slash being optional. if an element in the path (i.e. "home" or "keks" in the example above) starts with "b:", the rest of the element is parsed as URL-compatible base64.
Click to show internal directories.
Click to hide internal directories.