fsutil

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: LGPL-2.1 Imports: 3 Imported by: 12

Documentation

Overview

package fsutil includes some util functions for operating file system

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src, dst string) (bool, error)

CopyFile copy src to dst

func DirExists added in v1.0.1

func DirExists(path string) (bool, error)

DirExists check if the give directory exists

func FileExists

func FileExists(path string) (bool, error)

FileExists check if the given file exists

func IsDir

func IsDir(pth string) (bool, error)

IsDir check if a path is 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