MCPcopy Create free account
hub / github.com/MG-RAST/Shock / getAttr

Method getAttr

shock-client/chunk.go:74–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72}
73
74func (cu *chunkUploader) getAttr() (attr map[string]interface{}) {
75 attr = make(map[string]interface{})
76 attr["type"] = "temp"
77 attr["md5sum"] = cu.md5
78 attr["file_name"] = cu.file
79 attr["parts_size"] = cu.parts
80 attr["chunk_size"] = cu.chunk
81 return
82}
83
84func (cu *chunkUploader) setSizes(c string) {
85 fi, err := os.Stat(cu.file)

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected