diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-09-27 01:58:03 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-09-27 01:58:03 -0700 |
| commit | 5956a8b05a7836907aa8fe4ae169edc8f05e9476 (patch) | |
| tree | bf3d95e34b0b1bfaf0948aa9bdc883e84208116c | |
| parent | aa64f2ac4cc0008b7670bd7c253d17185fd108b5 (diff) | |
| download | seaweedfs-5956a8b05a7836907aa8fe4ae169edc8f05e9476.tar.xz seaweedfs-5956a8b05a7836907aa8fe4ae169edc8f05e9476.zip | |
adjust comment
| -rw-r--r-- | weed/storage/needle/needle.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/storage/needle/needle.go b/weed/storage/needle/needle.go index 845ffdb24..7443796a7 100644 --- a/weed/storage/needle/needle.go +++ b/weed/storage/needle/needle.go @@ -31,9 +31,9 @@ type Needle struct { Data []byte `comment:"The actual file data"` Flags byte `comment:"boolean flags"` //version2 NameSize uint8 //version2 - Name []byte `comment:"maximum 256 characters"` //version2 + Name []byte `comment:"maximum 255 characters"` //version2 MimeSize uint8 //version2 - Mime []byte `comment:"maximum 256 characters"` //version2 + Mime []byte `comment:"maximum 255 characters"` //version2 PairsSize uint16 //version2 Pairs []byte `comment:"additional name value pairs, json format, maximum 64kB"` LastModified uint64 //only store LastModifiedBytesLength bytes, which is 5 bytes to disk |
