file

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrFFileExtensionUnsupported = "file extension unsupported: %s"
)
View Source
const (
	FileExtension_Torrent = ".torrent"
)

Variables

This section is empty.

Functions

func CleanFilePath

func CleanFilePath(path string) (cp string)

CleanFilePath is a "fixed" version of the standard 'filepath.Clean' method.

func GetFolderFiles

func GetFolderFiles(folder string, readSubFolders bool, outFiles *[]string) (err error)

GetFolderFiles reads file names that are sittings inside the specified folder. File names are complemented with paths. A special flag enables recursive search into sub-folders.

Types

This section is empty.

Jump to

Keyboard shortcuts

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