add collecting of filemetadata for a given source

This commit is contained in:
2023-06-05 00:46:12 -06:00
parent 899faba255
commit cf9173b7ee
8 changed files with 306 additions and 0 deletions

16
types/types.go Normal file
View 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
}