Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
70
func
(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
78
func
(node *Node) setId() {
Callers
8
AsyncIndexer
Function · 0.95
FileReader
Method · 0.95
DynamicIndex
Method · 0.95
SetFile
Method · 0.95
SetFileFromPath
Method · 0.95
Read
Method · 0.80
RunVersionUpdates
Function · 0.80
CreateNodesFromArchive
Function · 0.80
Calls
1
getPath
Function · 0.85
Tested by
no test coverage detected