You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
331 B
Go
11 lines
331 B
Go
package swampfile
|
|
|
|
import "time"
|
|
|
|
type Repository interface {
|
|
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) ([]DeletedSwampFile, error)
|
|
}
|