Print dates in a nicer format
This commit is contained in:
parent
531a140c45
commit
3e70b2e2c9
5 changed files with 67 additions and 5 deletions
|
|
@ -154,6 +154,10 @@ impl Files {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn command(&self, source: Source) -> &Command {
|
||||
&self.files[source.file].file.commands[source.command]
|
||||
}
|
||||
|
||||
pub fn commands(&self) -> Vec<SourcedCommand<'_>> {
|
||||
let mut result = vec![];
|
||||
for (file_index, file) in self.files.iter().enumerate() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue