sagiegurari/duckscript

Command to get file size

Red-Teapot opened this issue · 1 comments

Feature Description

A command that returns the size of a file by given path, similar to std::fs::GetLastModifiedTime returning last modified time.

Code Sample

(Considering get_file_size as an alias to the requested command)

size = get_file_size ./foo/bar/baz.txt

good idea. would you like to PR this?