Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Copy ¶ added in v0.1.6
Copy files Copy copies a regular file from src to dst. If dst exists, returns error. Uses io.Copy for efficient file transfer.
func FormatSize ¶ added in v1.1.0
FormatSize returns a human-readable string for a file size in bytes (e.g., "1.2 MB").
func IsDir ¶
IsDir returns (true, nil) if the given path is a directory. Returns (false, nil) if it's a file. Returns (false, error) if the path does not exist or other error occurs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.