add collecting of filemetadata for a given source
This commit is contained in:
16
types/types.go
Normal file
16
types/types.go
Normal file
@ -0,0 +1,16 @@
|
||||
package types
|
||||
|
||||
import "time"
|
||||
|
||||
const (
|
||||
AppName = "ForeverFiles"
|
||||
)
|
||||
|
||||
type FileMetadata struct {
|
||||
Name string
|
||||
Path string
|
||||
Size int64
|
||||
Hash []byte
|
||||
ModifiedDate time.Time
|
||||
BackedUp bool
|
||||
}
|
Reference in New Issue
Block a user