MCPcopy Index your code
hub / github.com/rclone/rclone / Close

Method Close

vfs/write.go:216–220  ·  view source on GitHub ↗

Close closes the file

()

Source from the content-addressed store, hash-verified

214
215// Close closes the file
216func (fh *WriteFileHandle) Close() error {
217 fh.mu.Lock()
218 defer fh.mu.Unlock()
219 return fh.close()
220}
221
222// Flush is called on each close() of a file descriptor. So if a
223// filesystem wants to return write errors in close() and the file has

Callers

nothing calls this directly

Calls 3

closeMethod · 0.95
LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected