checksum plumbing (#438)

This commit is contained in:
Michael Quigley
2023-12-06 17:13:45 -05:00
parent e1d4079bb1
commit fa9f77bd1d
3 changed files with 15 additions and 3 deletions

View File

@ -15,6 +15,7 @@ type File struct {
modified time.Time
etag string
isdir bool
checksum string
}
// Path returns the full path of a file
@ -62,6 +63,10 @@ func (f File) IsDir() bool {
return f.isdir
}
func (f File) Checksum() string {
return f.checksum
}
// Sys ????
func (f File) Sys() interface{} {
return nil