{"modulePath":"github.com/wavetermdev/waveterm","version":"v0.14.5","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package filebackup\n\n## Constants\n\n```go\nconst BackupRetentionPeriod = 5 * 24 * time.Hour\n```\n\n## Functions\n\n```go\nfunc CleanupOldBackups() error\n```\n\n```go\nfunc MakeFileBackup(absFilePath string) (string, error)\n```\n\n```go\nfunc RestoreBackup(backupFilePath string, restoreToFileName string) error\n```\n\n## Types\n\n```go\ntype BackupMetadata struct {\n\tFullPath  string `json:\"fullpath\"`\n\tTimestamp string `json:\"timestamp\"`\n\tPerm      string `json:\"perm\"`\n}\n```\n\n","path":"github.com/wavetermdev/waveterm/pkg/filebackup","name":"filebackup","synopsis":"","isRedistributable":true}
