mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-14 00:14:05 +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,
|
|
];
|
|
}
|