fs

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(path string) bool

Checks if a given file exists.

func SetWorkingDirectory

func SetWorkingDirectory(directory string) error

func UsingDirectory

func UsingDirectory(directory string, executor func() error) error

Executes a function within a given working directory and restores the original working directory when the function completes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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