MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / WriteAt

Method WriteAt

internal/utils/fs/file.go:64–69  ·  view source on GitHub ↗
(b []byte, off int64)

Source from the content-addressed store, hash-verified

62}
63
64func (this *File) WriteAt(b []byte, off int64) (n int, err error) {
65 WriterLimiter.Ack()
66 n, err = this.rawFile.WriteAt(b, off)
67 WriterLimiter.Release()
68 return
69}
70
71func (this *File) Sync() (err error) {
72 WriterLimiter.Ack()

Callers

nothing calls this directly

Calls 3

WriteAtMethod · 0.65
AckMethod · 0.45
ReleaseMethod · 0.45

Tested by

no test coverage detected