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

Method WriteString

vfs/write.go:172–174  ·  view source on GitHub ↗

WriteString a string to the file

(s string)

Source from the content-addressed store, hash-verified

170
171// WriteString a string to the file
172func (fh *WriteFileHandle) WriteString(s string) (n int, err error) {
173 return fh.Write([]byte(s))
174}
175
176// Offset returns the offset of the file pointer
177func (fh *WriteFileHandle) Offset() (offset int64) {

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.95

Tested by

no test coverage detected