Help us shape the future of Go! Take the 2026 Go Developer Survey

fs

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 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