fs

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirExists

func DirExists(dirname string) bool

DirExists checks if a given directory exists (is accessible) the function may fail to verify the folder for other reasons, but will return false

func FileExists

func FileExists(filename string) bool

FileExists checks if a given file exists (is accessible) and if it is indeed a file the function may fail to verify the file for other reasons, but will return false

func ReadString

func ReadString(filename string) (string, error)

ReadString reads a string from a file, removing end-of-line and trimming spaces

Types

This section is empty.

Jump to

Keyboard shortcuts

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