MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / Path

Method Path

pkg/funclet/device/loop/loop_linux.go:42–44  ·  view source on GitHub ↗

Path returns the path to the loopback device

()

Source from the content-addressed store, hash-verified

40
41// Path returns the path to the loopback device
42func (device Device) Path() string {
43 return fmt.Sprintf(DeviceFormatString, device.number)
44}
45
46func NewDevice(number uint64, flags int) Device {
47 return Device{

Callers 8

openMethod · 0.95
StringMethod · 0.95
AttachFunction · 0.95
DetachMethod · 0.95
AllocateMethod · 0.45
InstallMethod · 0.45
InstallRESTMethod · 0.45
wrapRouterFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected