Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File interface { // GetName returns the root-relative file path. // The path must use "/" as directory separator. // It must not use escaping or "." and ".." segements. // The characters "/" and "\" are forbidden in path segments. GetName() string // GetContent returns the data contained in the file. GetContent() string }
File is a minimal representation of a file that is read only and provides only its name and contents. It is a bad fit for large files as its only way to access file contents is retrieving all of it as a string.
Click to show internal directories.
Click to hide internal directories.