Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrFolderIsNotFound = "folder is not found: %s" ErrFileDoesNotExist = "file does not exist: " ErrRelPathIsNotValid = "relative path is not valid" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilesFolder ¶
type FilesFolder struct {
// contains filtered or unexported fields
}
func NewFilesFolder ¶
func NewFilesFolder(baseFolder string) (ff *FilesFolder, err error)
func (*FilesFolder) FileExists ¶
func (ff *FilesFolder) FileExists(relPath string) (fileExists bool, err error)
func (*FilesFolder) GetFileContents ¶
func (ff *FilesFolder) GetFileContents(relPath string) (fileExists bool, data []byte, err error)
Click to show internal directories.
Click to hide internal directories.