mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-22 12:05:11 +00:00
d76fee7328
This meant writing some libc interaction, which wasn't actually too bad.
18 lines
248 B
Rust
18 lines
248 B
Rust
pub enum Column {
|
|
Permissions,
|
|
FileName,
|
|
FileSize(bool),
|
|
User,
|
|
Group,
|
|
}
|
|
|
|
pub fn defaultColumns() -> ~[Column] {
|
|
return ~[
|
|
Permissions,
|
|
FileSize(false),
|
|
User,
|
|
Group,
|
|
FileName,
|
|
];
|
|
}
|