0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

add is compressed/encrypted to filestats

This commit is contained in:
Zack Scholl 2018-09-22 10:44:16 -07:00
parent 1f64d1c93a
commit f977ac24c4

View file

@ -2,10 +2,13 @@ package models
import "time"
// FileStats are the file stats transfered to the other
type FileStats struct {
Name string
Size int64
ModTime time.Time
IsDir bool
SentName string
Name string
Size int64
ModTime time.Time
IsDir bool
SentName string
IsCompressed bool
IsEncrypted bool
}