mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
18 lines
278 B
Go
18 lines
278 B
Go
package main
|
|
|
|
import ()
|
|
|
|
// A Context specifies the root directory where all repositories are stored
|
|
type Context struct {
|
|
path string
|
|
}
|
|
|
|
func NewContext(path string) Context {
|
|
return Context{path}
|
|
}
|
|
|
|
// Creates the file structure of the Context
|
|
func (c *Context) Init() {
|
|
|
|
}
|