fs

package
v0.33.3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FileModeOwnerRO      os.FileMode = 0o400 // dr--------
	FileModeOwnerRW      os.FileMode = 0o600 // drw-------
	FileModeOwnerRWX     os.FileMode = 0o700 // drwx------
	FileModeDirectoryRWX os.FileMode = 0o755 // drwxr-xr-x
)

Variables

This section is empty.

Functions

func DirExists

func DirExists(path string) bool

func DirExistsEx

func DirExistsEx(path string) (bool, error)

func EnsureDirPath

func EnsureDirPath(path string, perm os.FileMode) error

func FileExists

func FileExists(path string) bool

func FileExistsEx

func FileExistsEx(path string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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