options

package
v1.85.2 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureFolderExists

func EnsureFolderExists(folder string) error

EnsureFolderExists checks for the existence of folder. If it doesn't exist it will create it. If it's not a dir, it will return an error.

func OpenFile

func OpenFile(path string) (f *os.File, err error)

OpenFile verifies that path is a standard file and opens it.

func PathExists

func PathExists(path string) (exists bool, isDir bool, err error)

PathExists returns whether path exists and it if it's a directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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