package
0.0.1
Repository: https://github.com/libonomy/libonomy-p2p.git
Documentation: pkg.go.dev

# Functions

ExistOrCreate creates the given path if it does not exist.
GetCanonicalPath returns an os-specific full path following these rules: - replace ~ with user's home dir path - expand any ${vars} or $vars - resolve relative paths /.../ p: source path name.
GetFullDirectoryPath gets the OS specific full path for a named directory.
GetUserHomeDirectory returns the current user's home directory if one is set by the system.
PathExists returns true iff file exists in local store and is accessible.
SetupTestHooks sets current user to mock user to test.
TearDownTestHooks sets current user back.
TestUsers returns a map of users for testing.

# Constants

OwnerReadWrite is a standard owner read / write file permission.
OwnerReadWriteExec is a standard owner read / write / exec file permission.