Structs

Functions

Copies a file from one location to another.

Creates a new file.

Creates an excluded from cache directory atomically with its parents as needed.

Hardlink (file) or symlink (dir) src to dst if possible, otherwise copy it.

Returns the maximum mtime of the given path, recursing into subdirectories, and following symlinks.

Opens an existing file.

Changes the filesystem mtime (and atime if possible) for the given file.

Record the current time on the filesystem (using the filesystem’s clock) using a file at the given directory. Returns the current time.

Strips base from path.