Function async_get_file_size
Source pub async fn async_get_file_size(file_path: &str) -> Option<u64>
Expand description
Gets the size of a file in bytes.
§Arguments
&str
- The path to the file.
§Returns
Option<u64>
- The file size in bytes if successful, None otherwise.