ff

package
v0.24.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL