Command to get file size
Red-Teapot opened this issue · 1 comments
Red-Teapot commented
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
sagiegurari commented
good idea. would you like to PR this?