summaryrefslogtreecommitdiffstats
path: root/src/meta/mod.rs
AgeCommit message (Collapse)Author
2024-08-19:bug: fix ls with link casesWei Zhang
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-08-19:bug: should print symlink content at depth 1Wei Zhang
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-06-22Fix hint stating wrong permissions option #1065Sebastian Mohr
2024-04-29:hammer: :tada: use cache for user and group in unix, gain 60% improveWei Zhang
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-02-16:art: :hammer: simplify the windows cfgWei Zhang
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-02-16ImplementationDom Slee
2024-02-16update various dependenciesFabio Valentini
- update dirs from v4 to v5 (no code changes) - update term_grid from v0.1 to v0.2 (small code changes) - update terminal_size from v0.1 to v0.3 (no code changes) - update lscolors from v0.15 to v0.16 (no code changes) - update serde_yaml from v0.8 to v0.9 (no code changes) The term_grid update required small changes to the use of `term_grid::Cell` because with v0.2, it is possible to specify the alignment within the cell. Adding `Alignment::Left` should preserve the current behaviour. This commit also includes the changes generated by "cargo update", which seems not to have been run in a long time, causing very old versions to be pulled in.
2023-11-01⬆️ bump lscolors to v0.15.0 and msrv to 1.69.0 (#944)Wei Zhang
<!--- PR Description ---> predicates v3 msrv is 1.69 in https://github.com/lsd-rs/lsd/pull/938
2023-09-20:mag: :hammer: fix test for adding disable permissionWei Zhang
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2023-09-20:sparkles: add disable option for permissionWei Zhang
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2023-05-01Git integration (#822)Pascal H
2023-03-13Localization support (#820)scarf
find locale set with [sys-locale](https://crates.io/crates/sys-locale), then format with locales.
2022-11-27Fix Bug: Handle -L with broken symlink #457 (#754)r3dArch
2022-11-26mark executables on windows based on file extensionsIcxolu
`exe`, `msi`, `bat` and `ps1` are marked as executable.
2022-11-13hide system protected files even with --all / --almost-allIcxolu
since interaction with these files is rare. Introduce --system-protected flag to include these files.
2022-11-13check windows hidden file attributeIcxolu
2022-09-12return POSIX-compatible exit statusDoug Elkin
2022-06-29refactor(meta): improve readability and maintainabilityNarawit Rakket
* use `io::Result` to shorten the return type * remove unnecessary reference (`&`) * replace multiple `if` with `&&` operator
2022-04-14Fix hyperlink displayAbin Simon
2022-03-31display security label/contextMartin Matous
fixes #367 Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31add access control indicatorsMartin Matous
fixes #347 fixes #515 Signed-off-by: Martin Matous <m@matous.dev>
2022-03-15Don't automatically dereference symlinks in tree/recursiveAbin Simon
2022-02-18Fix clippy lints from rust upgradeAbin Simon
2022-01-16theme: :hammer: fallback to default theme if item missedzwPapEr
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26theme: :hammer: use `themes` dir for themes configurationszwPapEr
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26theme: :hammer: using default to return dark theme and more testszwPapEr
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-08-20Fix Clippy lintsauronandace
Update display.rs Update color.rs Update date.rs Update date.rs Update mod.rs Update display.rs
2021-08-15Remove unnecessary use of read_linkAbin Simon
2021-02-15Fix sorting with almost-all flag and a folderAbin Simon
With a folder structure (a folder `z` with a file `a`), if we do `lsd -a` it used to be: . a .. instead of . .. a This was caused to the the parent meta having full path and us using z/.. to sort .. entry. This should now be fixed with manually changing the name to a .. .
2021-02-15display/tree: :hammer: not showing . and .. when tree with allzwPapEr
fix https://github.com/Peltoche/lsd/issues/477 Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-01-31Changed INodeCount to LinksPiyush Jaipuriyar
2021-01-31Fix for #407: Show number of hardlinks for lsd -lTheAlakazam
2020-12-13log: :memo: unique error output and update comment to fit configzwPapEr
2020-12-13config: :hammer: using target enum and vec string for config optionszwPapEr
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2020-12-11use existing display and layoutAJ ONeal
2020-12-11don't follow symlinks with tree -dAJ ONeal
2020-12-11Implement `lsd --tree -d`Jay
This commit implements the `-d` option in combination with `--tree` to mimic `tree -d` behaviour. There are also changes to the behaviour of `--tree` and `-R` such that they follow the same behaviour as `tree -d` and `ls -R` i.e. not follwoing symlinked directories unless the `-L` flag is specified.
2020-10-02Add ability to configure default options with fileKai Moschcau
# Conflicts: # Cargo.lock # Cargo.toml # README.md # src/app.rs # src/core.rs # src/display.rs # src/flags.rs # src/meta/mod.rs # src/sort.rs # tests/integration.rs
2020-08-29fix long listing for symlinkd dirsAbin Simon
2020-08-29show contents for symlink folders(fix #345)Abin Simon
2020-08-21arg: :sparkles: add support for dereferencezwPapEr
2020-08-08update commentsJay
2020-08-08upadte commentsJay
2020-08-08refactor symlink check into FileTypeJay
2020-08-08minor refactor of return valueJay
2020-08-08tidy commentsJay
2020-08-08fix panic on broken symlinks; display as fileJay
2020-08-08detect if symlink is_dir and show different icon: Jay
2020-05-31make not using canonical path when make parent pathdvvvvvv
2020-05-31remove redundent editsdvvvvvv