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

fileutil

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateDirectorySize

func CalculateDirectorySize(dirPath string) int64

CalculateDirectorySize recursively calculates the total size of files in a directory

func CopyFile

func CopyFile(src, dst string) error

CopyFile copies a file from src to dst using buffered IO

func DirExists

func DirExists(path string) bool

DirExists checks if a directory exists

func FileExists

func FileExists(path string) bool

FileExists checks if a file exists and is not a directory

func IsDirEmpty

func IsDirEmpty(path string) bool

IsDirEmpty checks if a directory is empty

Types

This section is empty.

Jump to

Keyboard shortcuts

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