Rename ChunkManifest.GetData to ChunkManifest.Marshal

This commit is contained in:
tnextday
2015-12-14 22:01:30 +08:00
parent 82e6d67ccc
commit f240c57f16
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ func LoadChunkManifest(buffer []byte, isGzipped bool) (*ChunkManifest, error) {
return &cm, nil
}
func (cm *ChunkManifest) GetData() ([]byte, error) {
func (cm *ChunkManifest) Marshal() ([]byte, error) {
return json.Marshal(cm)
}