mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-12 07:26:31 +00:00
10b8f6f414
Also, reverse the way columns are rendered: before, a column took a stat and a name to render; now, a file takes a column type to render. This means that most of the File data/methods can be private.
14 lines
198 B
Rust
14 lines
198 B
Rust
pub enum Column {
|
|
Permissions,
|
|
FileName,
|
|
FileSize(bool),
|
|
}
|
|
|
|
pub fn defaultColumns() -> ~[Column] {
|
|
return ~[
|
|
Permissions,
|
|
FileSize(false),
|
|
FileName,
|
|
];
|
|
}
|