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

fs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTempDir

func CreateTempDir(fallbacks ...TempDirFallbackOption) (string, []error)

func GetFileSHA1

func GetFileSHA1(path string) ([]byte, error)

GetFileSHA1 get file sha1

func IsDirExists

func IsDirExists(path string) (bool, error)

func IsFileExists

func IsFileExists(path string) (bool, error)

Types

type TempDirFallbackOption

type TempDirFallbackOption = func() tempDirFallback

func WithTempDirFallback

func WithTempDirFallback(dir, pattern string) TempDirFallbackOption

Jump to

Keyboard shortcuts

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