2 stable releases
1.4.0 | Mar 8, 2023 |
---|---|
1.3.0 | Mar 8, 2023 |
1.2.0 |
|
#1224 in Filesystem
Used in 3 crates
37KB
690 lines
rialight::filesystem
File system module.
Progress
For now, everything is implemented, except for the web browser.
-
file.exists()
- Host Operating System implementation
- Browser implementation
-
file.is_directory()
- Host Operating System implementation
- Browser implementation
-
file.is_file()
- Host Operating System implementation
- Browser implementation
-
file.is_symbolic_link()
- Host Operating System implementation
- Browser implementation
-
file.canonicalize()
- Host Operating System implementation
- Browser implementation
-
file.canonicalize_async()
- Host Operating System implementation
- Browser implementation
-
file.copy_to()
- Host Operating System implementation
- Browser implementation
-
file.copy_to_async()
- Host Operating System implementation
- Browser implementation
-
file.create_directory()
- Host Operating System implementation
- Browser implementation
-
file.create_directory_async()
- Host Operating System implementation
- Browser implementation
-
file.read_bytes()
- Host Operating System implementation
- Browser implementation
-
file.read_bytes_async()
- Host Operating System implementation
- Browser implementation
-
file.read_utf8()
- Host Operating System implementation
- Browser implementation
-
file.read_utf8_async()
- Host Operating System implementation
- Browser implementation
-
file.get_directory_listing()
- Host Operating System implementation
- Browser implementation
-
file.delete_empty_directory()
- Host Operating System implementation
- Browser implementation
-
file.delete_empty_directory_async()
- Host Operating System implementation
- Browser implementation
-
file.delete_all_directory()
- Host Operating System implementation
- Browser implementation
-
file.delete_all_directory_async()
- Host Operating System implementation
- Browser implementation
-
file.delete_file()
- Host Operating System implementation
- Browser implementation
-
file.delete_file_async()
- Host Operating System implementation
- Browser implementation
-
file.rename()
- Host Operating System implementation
- Browser implementation
-
file.rename_async()
- Host Operating System implementation
- Browser implementation
-
file.write()
- Host Operating System implementation
- Browser implementation
-
file.write_async()
- Host Operating System implementation
- Browser implementation
-
file.creation_date()
- Host Operating System implementation
- Browser implementation
-
file.creation_date_async()
- Host Operating System implementation
- Browser implementation
-
file.modification_date()
- Host Operating System implementation
- Browser implementation
-
file.modification_date_async()
- Host Operating System implementation
- Browser implementation
-
file.size()
- Host Operating System implementation
- Browser implementation
-
file.size_async()
- Host Operating System implementation
- Browser implementation
Dependencies
~7–14MB
~163K SLoC