package
0.0.0-20240726205954-93d05801347e
Repository: https://github.com/wplapper/restic.git
Documentation: pkg.go.dev
# Functions
DetectLayout tries to find out which layout is used in a local (or sftp) filesystem at the given path.
ParseLayout parses the config string and returns a Layout.
# Variables
ErrLayoutDetectionFailed is returned by DetectLayout() when the layout cannot be detected automatically.
No description provided by the author
# Structs
DefaultLayout implements the default layout for local and sftp backends, as described in the Design document.
LocalFilesystem implements Filesystem in a local path.
RESTLayout implements the default layout for the REST protocol.
S3LegacyLayout implements the old layout used for s3 cloud storage backends, as described in the Design document.
# Interfaces
Filesystem is the abstraction of a file system used for a backend.
Layout computes paths for file name storage.