Versions in this module Expand all Collapse all v0 v0.1.0 Sep 22, 2023 Changes in this version + var DefaultModes = Modes + func DefaultDelete(ctx context.Context, be restic.Backend) error + func DefaultLoad(ctx context.Context, h restic.Handle, length int, offset int64, ...) error + func IsErrDot(err error) bool + func LoadAll(ctx context.Context, buf []byte, be restic.Backend, h restic.Handle) ([]byte, error) + func MemorizeList(ctx context.Context, be restic.Lister, t restic.FileType) (restic.Lister, error) + func ReadAt(ctx context.Context, be restic.Backend, h restic.Handle, offset int64, ...) (n int, err error) + func ReaderAt(ctx context.Context, be restic.Backend, h restic.Handle) io.ReaderAt + func SplitShellStrings(data string) (strs []string, err error) + func StartForeground(cmd *exec.Cmd) (bg func() error, err error) + func Transport(opts TransportOptions) (http.RoundTripper, error) + type LimitedReadCloser struct + func LimitReadCloser(r io.ReadCloser, n int64) *LimitedReadCloser + type Modes struct + Dir os.FileMode + File os.FileMode + func DeriveModesFromFileInfo(fi os.FileInfo, err error) Modes + type TransportOptions struct + InsecureTLS bool + RootCertFilenames []string + TLSClientCertKeyFilename string