exa/column.rs
Ben S d76fee7328 Add user and group columns
This meant writing some libc interaction, which wasn't actually too bad.
2014-05-05 11:29:50 +01:00

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,
];
}