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:
parent
1f64d1c93a
commit
f977ac24c4
1 changed files with 8 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue