This website requires JavaScript.
Explore
Help
Sign in
leyoda
/
cosmic-files
Watch
1
Star
0
Fork
You've already forked cosmic-files
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
181bed29a4
cosmic-files
/
src
/
main.rs
4 lines
81 B
Rust
Raw
Normal View
History
Unescape
Escape
Basic implementation
2024-01-03 15:27:32 -07:00
fn
main
(
)
->
Result
<
(
)
,
Box
<
dyn
std
::
error
::
Error
>
>
{
Convert to library
2024-02-01 15:14:14 -07:00
cosmic_files
::
main
(
)
Test helpers and unit tests (#26) * Implement a few utility functions for tests Most tests would require a test file hierarchy instead of operating on a live system. * Add unit tests for `tab::scan_path` Tests: * Works on a valid path * Returns an empty Vec on an invalid directory * Returns an empty Vec for an empty directory I also implemented a few test helpers that may be useful for other unit tests. * Less spammy test logs and placate Clippy.
2024-02-01 16:29:10 +00:00
}
Reference in a new issue
Copy permalink