Add per-user download directory
This commit is contained in:
parent
1532b2a8c8
commit
6b5bf4ced1
4 changed files with 6 additions and 4 deletions
|
@ -52,6 +52,10 @@ func (d directory) Key(username string) string {
|
|||
return filepath.Join(d.User(username), "key.pem")
|
||||
}
|
||||
|
||||
func (d directory) Downloads(username string) string {
|
||||
return filepath.Join(d.User(username), "downloads")
|
||||
}
|
||||
|
||||
func (d directory) Config() string {
|
||||
return filepath.Join(d.ConfigRoot(), "config.toml")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue