os

package
v0.0.0-...-5ed85c2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExist

func FileExist(filename string) bool

func IsDarwin

func IsDarwin() bool

func IsFileMode

func IsFileMode(mode, check fs.FileMode) bool

func IsFreeBSD

func IsFreeBSD() bool

func IsLinux

func IsLinux() bool

func IsPipe

func IsPipe(fileInfo os.FileInfo) bool

func IsPipeFile

func IsPipeFile(file fs.File) bool

func IsWindows

func IsWindows() bool

func MakeDir

func MakeDir(dir string) error

func RunSafe

func RunSafe(fn func(), onRecover OnRecover)

Types

type OnRecover

type OnRecover func(r any)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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