fsutil

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package fsutil provides small filesystem helpers used by the profile layer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyPath

func CopyPath(src, dst string) error

CopyPath recursively copies src to dst. If src does not exist the function returns silently (not an error). Any existing dst is removed first so that the copy is fully deterministic.

func Exists

func Exists(path string) bool

Exists reports whether path exists as any kind of filesystem entry.

func RemovePath

func RemovePath(path string) error

RemovePath removes a file or directory tree. Missing paths are not an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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