mirror of
				https://github.com/restic/restic.git
				synced 2025-10-30 21:01:01 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			431 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			431 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package backend
 | |
| 
 | |
| import "os"
 | |
| 
 | |
| // Default paths for file-based backends (e.g. local)
 | |
| var Paths = struct {
 | |
| 	Data      string
 | |
| 	Snapshots string
 | |
| 	Index     string
 | |
| 	Locks     string
 | |
| 	Keys      string
 | |
| 	Temp      string
 | |
| 	Version   string
 | |
| 	ID        string
 | |
| }{
 | |
| 	"data",
 | |
| 	"snapshots",
 | |
| 	"index",
 | |
| 	"locks",
 | |
| 	"keys",
 | |
| 	"tmp",
 | |
| 	"version",
 | |
| 	"id",
 | |
| }
 | |
| 
 | |
| // Default modes for file-based backends
 | |
| var Modes = struct{ Dir, File os.FileMode }{0700, 0600}
 | 
