From f977ac24c40bd56562450db873721d9b03c0cac9 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Sat, 22 Sep 2018 10:44:16 -0700 Subject: [PATCH] add is compressed/encrypted to filestats --- src/models/filestats.go | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/models/filestats.go b/src/models/filestats.go index 7cf13be..446e831 100644 --- a/src/models/filestats.go +++ b/src/models/filestats.go @@ -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 }