Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Set = wire.NewSet( wire.Struct(new(FileSystem)), wire.Bind(new(Interface), new(*FileSystem)), )
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem struct{}
FileSystem provides manipulation of file system.
func (*FileSystem) FindFiles ¶
func (fs *FileSystem) FindFiles(paths []string, filter FindFilesFilter) ([]File, error)
FindFiles returns a list of files in the paths. If the filter is nil, it returns any files.
func (*FileSystem) ReadAsBase64EncodedContent ¶
func (fs *FileSystem) ReadAsBase64EncodedContent(filename string) (string, error)
ReadAsBase64EncodedContent returns content of the file as base64 encoded string.
Click to show internal directories.
Click to hide internal directories.