fileutils

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package fileutils provides utility functions for file operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(path string) (bool, error)

FileExists checks if a file exists at the given path.

func IsDirEmpty

func IsDirEmpty(path string) (bool, error)

IsDirEmpty checks if the specified directory is empty.

func Touch

func Touch(path string) error

Touch creates an empty file at the given path, if it doesn't already exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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