Files
kopia/internal/dir/entry.go
2018-03-24 12:22:21 -07:00

19 lines
418 B
Go

package dir
import (
"github.com/kopia/kopia/fs"
"github.com/kopia/kopia/object"
)
// Entry represents a directory entry as stored in JSON stream.
type Entry struct {
fs.EntryMetadata
ObjectID object.ID `json:"obj,omitempty"`
}
// Summary represents a summary of directory stored in JSON stream.
type Summary struct {
TotalFileSize int64 `json:"totalFileSize"`
TotalFileCount int64 `json:"totalFileCount"`
}