Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MG-RAST/Shock
/ setId
Method
setId
shock-server/node/helper.go:78–81 ·
view source on GitHub ↗
misc
()
Source
from the content-addressed store, hash-verified
76
77
// misc
78
func
(node *Node) setId() {
79
node.Id = uuid.New()
80
return
81
}
82
83
func
(node *Node) FileExt() string {
84
if
node.File.Name !=
""
{
Callers
1
New
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected