fs

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirectoryFilesCount

func DirectoryFilesCount(dirPath string) (int, error)

DirectoryFilesCount returns the number of files in a directory. If the dir does not exists, it returns 0.

func FileExists

func FileExists(filePath string) (bool, error)

FileExists checks if a file path exists

func IsDirectory

func IsDirectory(path string) bool

IsDirectory checks whether a path is a directory

func IsFile

func IsFile(path string) bool

IsFile checks whether a path is a directory

func Unzip

func Unzip(zipFilePath string, destDirectory string) ([]string, error)

Unzip decompresses a zip archive

Types

This section is empty.

Jump to

Keyboard shortcuts

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