Documentation
¶
Overview ¶
Package repr contains functions useful for serializing and deserializing directory listing structs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalDir ¶
MarshalDir turns a directory listing into bytes that can later be used with UnmarshalDir. Note that ContainingDevice fields are lost.
The input array may be modified.
func MarshalFile ¶
MarshalFile encodes the supplied file contents into bytes that can later be used with UnmarshalFile. The input array may be modified.
func UnmarshalDir ¶
UnmarshalDir recovers a list of directory entries from bytes previously returned by MarshalDir.
func UnmarshalFile ¶
UnmarshalFile recovers file contents previously encoded with MarshalFile.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.