Comments (3)
I agree, this part of the metadata wouldn't have to be stored for all files it iterates. Instead it could be extracted from the meta-data that is queried each time a level of files is displayed. This is currently used to indicate missing files in red (useful to see they have been deleted already).
It would be worth figuring out which timestamp exactly should be chosen, last modified time, or creation time. My intuition is modified time.
from dua-cli.
Any pointers or suggestions how to tackle this? I am mostly a rust newbie alas,
but I don't mind at least trying to poke around a bit to see what I can find out.
from dua-cli.
The entries panel (the one you are interested in) is drawn here.
Currently it only knows about the existence of an entry, but that could be extended here.
The trickier bits should be around drawing the dates correctly, but that is usually a matter of experimentation with cargo run -- i
.
If you have more questions or trouble, please feel free to post here for some help.
from dua-cli.
Related Issues (20)
- Save and load? HOT 5
- Seems like `-x` doesn't work with rclone fuse mounts? HOT 3
- Support sorting by mtime HOT 2
- Output not refreshing since v2.18 HOT 12
- Feature request: have "number of files" as a display/sort option HOT 2
- Performance? HOT 3
- preview or open file?
- Show a loader in interactive mode HOT 1
- Feature: allow glob-based recursive interactive search HOT 23
- failed to install on Centos using Cargo
- Make deletion multi-threaded HOT 1
- Unable to build on android termux HOT 4
- [Issue] Missing binary for Linux in release 2.20.0 HOT 3
- Replace tui with ratatui HOT 1
- Output layout difference between macOS build and linux build HOT 4
- Trouble installing on Ubuntu. Cannot run as sudo HOT 1
- alignment off when in interactive mode and -f binary HOT 9
- Home/End keys don't work in help or mark panes HOT 5
- `dua` doesn't count dot directory if I specify a path argument HOT 1
- configurable keybindings HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dua-cli.