fsops

package
v0.0.0-...-6433895 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src, dst string) error

CopyFile copies a file from src to dst. If dst does not exist, it will be created.

func FilenameExistsInFolder

func FilenameExistsInFolder(filename, folder string) bool

func GetExtension

func GetExtension(cardsFilepath string) (counters.FileContent, error)

func GetFilenamesForPath

func GetFilenamesForPath(path string) ([]string, error)

GetFilenamesForPath returns every path+filename found in `path`

func IdentifyJSONFileContent

func IdentifyJSONFileContent(data []byte) (counters.FileContent, error)

func ReadMarkupFile

func ReadMarkupFile(markupFilepath string, destination interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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