mirror of
https://github.com/kopia/kopia.git
synced 2026-03-14 20:26:51 -04:00
19 lines
418 B
Go
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"`
|
|
}
|