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

Method FilePath

shock-server/node/helper.go:70–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70func (node *Node) FilePath() string {
71 if node.File.Path != "" {
72 return node.File.Path
73 }
74 return getPath(node.Id) + "/" + node.Id + ".data"
75}
76
77// misc
78func (node *Node) setId() {

Callers 8

AsyncIndexerFunction · 0.95
FileReaderMethod · 0.95
DynamicIndexMethod · 0.95
SetFileMethod · 0.95
SetFileFromPathMethod · 0.95
ReadMethod · 0.80
RunVersionUpdatesFunction · 0.80
CreateNodesFromArchiveFunction · 0.80

Calls 1

getPathFunction · 0.85

Tested by

no test coverage detected