MCPcopy Create free account
hub / github.com/facebook/time / Read

Method Read

phc/device.go:168–170  ·  view source on GitHub ↗
(buffer []byte)

Source from the content-addressed store, hash-verified

166func (dev *Device) SetTime(t time.Time) error { return clockSetTime(dev, t) }
167
168func (dev *Device) Read(buffer []byte) (int, error) {
169 return syscall.Read(int(dev.Fd()), buffer)
170}

Callers

nothing calls this directly

Calls 2

FdMethod · 0.95
ReadMethod · 0.65

Tested by

no test coverage detected