swampfile.Repository.DeleteOlderThan
parent
0b6e27f129
commit
7bb9bf90c2
@ -1,7 +1,10 @@
|
||||
package swampfile
|
||||
|
||||
import "time"
|
||||
|
||||
type Repository interface {
|
||||
Create(filename string, user_agent_label string) (SwampInFile, error)
|
||||
Open(filename string, user_agent_label string) (SwampOutFile, error)
|
||||
Delete(filename string, user_agent_label string)
|
||||
Create(filename string, namespace_stub string) (SwampInFile, error)
|
||||
Open(filename string, namespace_stub string) (SwampOutFile, error)
|
||||
Delete(filename string, namespace_stub string)
|
||||
DeleteOlderThan(namespace_stub string, ts time.Time) error
|
||||
}
|
||||
|
Loading…
Reference in New Issue