diff options
author | scarf <greenscarf005@gmail.com> | 2023-03-13 11:44:54 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-13 10:44:54 +0800 |
commit | 7b9290c92c7f3482713a9d9cbd686f6017aeb8d5 (patch) | |
tree | 77d7b2ecf773a3f5ba116473fdc479e51e422e40 /src/meta/mod.rs | |
parent | ea56a7c385db4d4e67992d2d13de94ebc2a97234 (diff) |
Localization support (#820)
find locale set with [sys-locale](https://crates.io/crates/sys-locale),
then format with locales.
Diffstat (limited to 'src/meta/mod.rs')
-rw-r--r-- | src/meta/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/meta/mod.rs b/src/meta/mod.rs index 00090dc..697cecb 100644 --- a/src/meta/mod.rs +++ b/src/meta/mod.rs @@ -4,6 +4,7 @@ mod filetype; mod indicator; mod inode; mod links; +mod locale; pub mod name; mod owner; mod permissions; @@ -329,7 +330,7 @@ mod tests { let path_c = tmp_dir.path().join("ccc.cc"); #[cfg(unix)] - std::os::unix::fs::symlink(&path_c, &path_b).expect("failed to create broken symlink"); + std::os::unix::fs::symlink(path_c, &path_b).expect("failed to create broken symlink"); // this needs to be tested on Windows // likely to fail because of permission issue |