Documentation
¶
Overview ¶
Package files provides utility functions for file and directory operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTextFile ¶
IsTextFile checks if the file at the given path is a text file by reading a portion of its content. Files with common binary file extensions are ruled out without reading.
func RemoveChildren ¶
RemoveChildren removes all files and subdirectories within the specified directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.