File Write

Write to a mutable file in a given filesystem.

Arguments

Arguments

Description

Type

Required?

arg

Path to node to stat.

string

Y

arg

boolean

N

offset

Print hash only. Implied '-format='. Conflicts with other format options.

boolean

N

create

Print size only. Implies '-format='. COnflicts with other format options.

string

N

parents

Compute the amount of the dag that is local, and if possible, the total size.

boolean

N

truncate

Truncate the file to size zero before writing.

boolean

N

count

Maximum number of bytes to read.

integer

N

Language
Click Try It! to start a request and see the response here!