Comments (5)
Well, eza goal is to not interfer with file contents, and never read, modify, open, a file. As to follow this mindset I think this idea will not be implemented for the moment.
from eza.
Well, eza goal is to not interfer with file contents, and never read, modify, open, a file.
Except .gitignore
, right?
from eza.
Except .gitignore, right?
Not really the ignoring is made by reading the status using libgit2.
from eza.
Yes, libgit2 does that by reading any .gitignore files it sees. We can't claim we never read files if we're just depending on another crate to do it for us. See below strace
output of exa --git-ignore
and stat .gitignore
which shows the atime updated when eza
ran.
newfstatat(AT_FDCWD, "/home/steven/code/rust/eza/.gitignore", {st_mode=S_IFREG|0644, st_size=449, ...}, 0) = 0
openat(AT_FDCWD, "/home/steven/code/rust/eza/.gitignore", O_RDONLY|O_CLOEXEC) = 5
read(5, "# Nix Flake stuff\nresult\n\n# Gene"..., 449) = 449
close(5) = 0
steven$ stat .gitignore
File: .gitignore
Size: 449 Blocks: 8 IO Block: 4096 regular file
Device: 0,771 Inode: 2038269 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ steven) Gid: ( 1000/ steven)
Access: 2024-01-13 17:54:28.184986001 +0000
Modify: 2023-11-14 18:12:35.983333360 +0000
Change: 2023-11-14 18:12:35.983333360 +0000
Birth: 2023-11-14 18:12:35.983333360 +0000
from eza.
well I thought it was doing it with the status as I am doing on the mercurial poc thats my bad I guess
from eza.
Related Issues (20)
- feat: make web versions of man page more easily discoverable HOT 1
- bug: pr template isn't auto-populated HOT 2
- Bug: `idump` give different output even without any modification, on Debian
- feat: Allow abbreviations for long option names HOT 1
- Wessss up on
- How to default -t to modified -r
- bug: Problems with man pages HOT 2
- feat: In tree view, the branch child contents should line up with the parent's first symbol
- bug: eza ignores LC_TIME and always shows dates in English (deb.gierens.de build only) HOT 7
- Apple Silicon Builds HOT 1
- feat: Plugin support HOT 3
- feat: dynamic navigation of tree HOT 1
- bug: unset permission bit "invisible", customizing color for that bit has no effect if unset
- bug: incorrect display of `eza -T --absolute /full/path` HOT 2
- feat: Formatted hyperlinks HOT 2
- Few eza icons different compared to exa icons
- feat: Allow skip check if dir is full or empty for icons
- feat: Adjustable Column Spacing
- bug: Different file sizes are shown by eza and ls commands HOT 1
- bug: Sort function not work very well with hungarian letters HOT 2
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 eza.