filesystem

module
v0.0.0-...-c4269dd Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT

README

filesystem

GitHub Actions GitHub Release GitHub Issues GitHub License Coverage Go Version Go Report Card


How to use ?

go get -u github.com/kilianpaquier/filesystem@latest

Features

The filesystem package exposes some useful function around files, for instance a simple function as func Exists(src) bool to verify a file existence easily.

It also exposes CopyFile(src, dst) error and CopyFileWithPerm(src, dst, perm) error which copy a given src file to dst with either specific permissions or not.

It also exposes CopyDir(srcdir, destdir) to copy a full directory at another place. The destination directory will be created if it doesn't already.

The package also exposes some constants around permissions.

Directories

Path Synopsis
pkg
The filesystem package exposes some useful function around files, for instance a simple function as `func Exists(src) bool` to verify a file existence easily.
The filesystem package exposes some useful function around files, for instance a simple function as `func Exists(src) bool` to verify a file existence easily.

Jump to

Keyboard shortcuts

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