osutils

package
v0.0.0-...-8eb1a3c Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 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(name string) (bool, error)

DirExists reports whether a directory exists. It returns an error if the underlying os.Stat call fails, or if the given path does not correspond to a directory.

func FileExists

func FileExists(name string) (bool, error)

FileExists reports whether a file exists. It returns an error if the underlying os.Stat call fails, or if the given path does not correspond is a directory instead of a file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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