Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@defigli
Copy link

@defigli defigli commented Nov 25, 2025

Closes #1845

The call of ls -lhd is replaced by a native detailled listing.

Sample output:

-rw-rw-r--   1    testuser    testuser     32 K Nov 25 17:42 CHANGELOG.md                                                                                                                    
-rw-rw-r--   1    testuser    testuser    1.6 K Nov 25 17:42 CONTRIBUTING.md                                                                                                                 
-rw-rw-r--   1    testuser    testuser     26 K Nov 25 18:12 Cargo.lock                                                                                                                      
-rw-rw-r--   1    testuser    testuser    2.8 K Nov 25 18:12 Cargo.toml                                                                                                                      
-rw-rw-r--   1    testuser    testuser    218 B Nov 25 17:42 Cross.toml                                                                                                                      
-rw-rw-r--   1    testuser    testuser     11 K Nov 25 17:42 LICENSE-APACHE                                                                                                                  
-rw-rw-r--   1    testuser    testuser    1.1 K Nov 25 17:42 LICENSE-MIT                                                                                                                     
-rw-rw-r--   1    testuser    testuser    1.1 K Nov 25 17:42 Makefile                                                                                                                        
-rw-rw-r--   1    testuser    testuser     27 K Nov 25 17:42 README.md                                                                                                                       
-rw-rw-r--   1    testuser    testuser    1.4 K Nov 25 17:42 SECURITY.md    

src/output.rs Outdated
.duration_since(SystemTime::UNIX_EPOCH)
.unwrap_or(std::time::Duration::ZERO);
let timestamp =
Timestamp::new(duration.as_secs() as i64, duration.subsec_nanos() as i32).unwrap();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jiff implements try_from(SystemTime)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@defigli defigli force-pushed the feature/native-list-details branch from 2ceb725 to 9b4e9b4 Compare November 27, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement --list-details natively

2 participants