More updates :)

This commit is contained in:
Henrique Dias
2017-08-20 08:49:09 +01:00
parent 5b619337df
commit 76de8e5940
4 changed files with 20 additions and 7 deletions

View File

@@ -461,6 +461,7 @@ type ConfigStore interface {
// ShareStore is the interface to manage share links.
type ShareStore interface {
Get(hash string) (*ShareLink, error)
GetPermanent(path string) (*ShareLink, error)
GetByPath(path string) ([]*ShareLink, error)
Gets() ([]*ShareLink, error)
Save(s *ShareLink) error