MCPcopy
hub / github.com/google/uuid / getHardwareInterface

Function getHardwareInterface

node_js.go:12–12  ·  view source on GitHub ↗

getHardwareInterface returns nil values for the JS version of the code. This removes the "net" dependency, because it is not used in the browser. Using the "net" library inflates the size of the transpiled JS code by 673k bytes.

(name string)

Source from the content-addressed store, hash-verified

10// This removes the "net" dependency, because it is not used in the browser.
11// Using the "net" library inflates the size of the transpiled JS code by 673k bytes.
12func getHardwareInterface(name string) (string, []byte) { return "", nil }

Callers 1

setNodeInterfaceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected