fs

package
v0.0.0-...-4df99cc Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BaseDir = "/opt/premises"
)

Variables

This section is empty.

Functions

func ChownRecursive

func ChownRecursive(path string, uid, gid int) error

func CopyAll

func CopyAll(oldDir, newDir string) error

func DataPath

func DataPath(path ...string) string

func Fallocate

func Fallocate(path string, size int64) error

func GetTempDir

func GetTempDir() string

func LocateServer

func LocateServer(serverName string) string

func MkdirTemp

func MkdirTemp() (string, error)

func MoveAll

func MoveAll(oldDir, newDir string) error

func RemoveIfExists

func RemoveIfExists(path string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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