xos

package
v2.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDir

func IsDir(path string) bool

IsDir reports whether path is a directory.

func IsFile added in v2.4.0

func IsFile(path string) bool

IsFile reports whether path is a file.

func Split added in v2.4.0

func Split(path string) (dir, file, name, ext string)

Split splits path into its directory, file name, name without extension and extension.

func Stat added in v2.4.0

func Stat(filePath string) (stat.FileInfo, error)

Stat returns the file information of filePath.

func WriteFile added in v2.4.0

func WriteFile(file string, data []byte) error

WriteFile writes data to file, creating the parent directory when it does not exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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