16 lines
375 B
Plaintext

{
"name": "file_size",
"type": "function",
"groups": ["Files and Paths"],
"description": "Returns the size (in bytes) of a file.",
"arguments": [{
"arg": "path",
"description": "a file path"
}],
"examples": [{
"expression": "file_size('/home/qgis/data/country_boundaries.geojson')",
"returns": "5674"
}],
"tags": ["size", "file", "bytes"]
}