tangled
alpha
login
or
join now
ngp.computer
/
tsk
A file-based task manager
0
fork
atom
overview
issues
pulls
pipelines
AUTOFORMAT
ngp.computer
1 year ago
73962614
37b79580
+2
-1
1 changed file
expand all
collapse all
unified
split
src
stack.rs
+2
-1
src/stack.rs
···
143
self.file.set_len(0)?;
144
for item in self.all.iter() {
145
let time = item.modify_time.duration_since(UNIX_EPOCH)?.as_secs();
146
-
self.file.write_all(format!("{item}\t{}\n", time).as_bytes())?;
0
147
}
148
Ok(())
149
}
···
143
self.file.set_len(0)?;
144
for item in self.all.iter() {
145
let time = item.modify_time.duration_since(UNIX_EPOCH)?.as_secs();
146
+
self.file
147
+
.write_all(format!("{item}\t{}\n", time).as_bytes())?;
148
}
149
Ok(())
150
}