filesystem

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultCacheDir = "Caches"

Variables

View Source
var GetDefaultPath = func() string {
	return filepath.Join(os.Getenv("APPDATA"), defaultBasePath)
}

getDefaultPath gets the full default path under %AppData%.

Functions

func InitializeStructure

func InitializeStructure() error

InitializeStructure sets up the required directory structure in the default path.

func IsFileSystemSetUp

func IsFileSystemSetUp() (bool, error)

IsFileSystemSetUp checks if the required directory structure is in place in the default path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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