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

Method Close

internal/utils/fs/file.go:85–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85func (this *File) Close() (err error) {
86 if !this.readonly {
87 WriterLimiter.Ack()
88 }
89 err = this.rawFile.Close()
90 if !this.readonly {
91 WriterLimiter.Release()
92 }
93 return
94}

Callers 1

openReaderMethod · 0.95

Calls 3

CloseMethod · 0.65
AckMethod · 0.45
ReleaseMethod · 0.45

Tested by

no test coverage detected