Documentation
¶
Overview ¶
Package file provides utilities for handling folder and file operations.
The `Files` type allows for working with a collection of file paths, offering a layer over the `File` type.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Files ¶
Files represents a collection of File objects.
func New ¶
New creates a new Files collection from the provided list of paths. The paths are joined with the provided directory to create the full file paths. Pass `dir` as an empty string to use the paths as-is.
func NewFromFiles ¶
NewFromFiles creates a new Files collection from the provided list of File objects.
Click to show internal directories.
Click to hide internal directories.