Send download link on completion
This commit is contained in:
parent
fa99a96733
commit
b92f5cfb43
6 changed files with 67 additions and 6 deletions
|
@ -56,6 +56,10 @@ func (d directory) Downloads(username string) string {
|
|||
return filepath.Join(d.User(username), "downloads")
|
||||
}
|
||||
|
||||
func (d directory) DownloadedFile(username string, file string) string {
|
||||
return filepath.Join(d.Downloads(username), file)
|
||||
}
|
||||
|
||||
func (d directory) Config() string {
|
||||
return filepath.Join(d.ConfigRoot(), "config.toml")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue