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

Method WriteString

vfs/read_write.go:385–387  ·  view source on GitHub ↗

WriteString a string to the file

(s string)

Source from the content-addressed store, hash-verified

383
384// WriteString a string to the file
385func (fh *RWFileHandle) WriteString(s string) (n int, err error) {
386 return fh.Write([]byte(s))
387}
388
389// Truncate file to given size
390//

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.95

Tested by

no test coverage detected