Documentation
¶
Overview ¶
Package metav1 implements the functions, types, and interfaces for the module.
Index ¶
Constants ¶
View Source
const Version = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileMetaV1 ¶
type FileMetaV1 struct {
Version int32 `msgpack:"v"` // Schema version, e.g., 1
Name string `msgpack:"n"` // File name
Hash string `msgpack:"h"` // Content hash
Size int64 `msgpack:"s"` // File size
MimeType string `msgpack:"m"` // MIME type
ModTime int64 `msgpack:"t"` // Modify time
}
func (FileMetaV1) CurrentVersion ¶
func (f FileMetaV1) CurrentVersion() int32
Click to show internal directories.
Click to hide internal directories.