mirror of
https://github.com/openziti/zrok.git
synced 2025-08-14 18:18:30 +02:00
checksum plumbing (#438)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user