MCPcopy
hub / github.com/rclone/rclone / Close

Method Close

vfs/read_write.go:183–187  ·  view source on GitHub ↗

Close closes the file

()

Source from the content-addressed store, hash-verified

181
182// Close closes the file
183func (fh *RWFileHandle) Close() error {
184 fh.mu.Lock()
185 defer fh.mu.Unlock()
186 return fh.close()
187}
188
189// Flush is called each time the file or directory is closed.
190// Because there can be multiple file descriptors referring to a

Callers

nothing calls this directly

Calls 3

closeMethod · 0.95
LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected