Remove file count and size limits in protocol

This commit is contained in:
Jakob Borg
2014-07-25 09:01:54 +02:00
parent 6188185b22
commit 0d9dcb2f4f
2 changed files with 5 additions and 17 deletions

View File

@@ -7,8 +7,8 @@ package protocol
import "fmt"
type IndexMessage struct {
Repository string // max:64
Files []FileInfo // max:10000000
Repository string // max:64
Files []FileInfo
}
type FileInfo struct {
@@ -17,7 +17,7 @@ type FileInfo struct {
Modified int64
Version uint64
LocalVersion uint64
Blocks []BlockInfo // max:1000000
Blocks []BlockInfo
}
func (f FileInfo) String() string {