Documentation
¶
Overview ¶
Package filesystem provides utility functions for file system operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDir ¶
CopyDir recursively copies a directory tree, attempting to preserve permissions. Source directory must exist, destination directory must *not* exist.
func CreateSymlinkOrCopy ¶
CreateSymlinkOrCopy creates a symlink from target to source, or falls back to copy on failure. Uses relative paths for portability. Works on Linux, macOS, and Windows (with fallback).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.