summaryrefslogtreecommitdiff
path: root/src/fsentry.rs
AgeCommit message (Collapse)AuthorFilesLines
2020-12-31feat: incremental backupLars Wirzenius1-1/+1
This uses the previous, latest generation as a guideline to see what is new or changed.
2020-12-26feat! store pathnames a vectors of bytesLars Wirzenius1-3/+6
This is the most generic way to store filenames.
2020-12-26refactor: rename FileSystemEntry::path to pathbufLars Wirzenius1-2/+2
This is a step towards changing how filenames are stored in FileSystemEntry.
2020-12-12feat: back up and restore symlinksLars Wirzenius1-3/+22
2020-12-12feat: restore metadata as well as file contententsLars Wirzenius1-0/+24
2020-12-11add timestamps to fsentryLars Wirzenius1-8/+15
2020-12-11store mode in fsentryLars Wirzenius1-1/+13
2020-12-11refactor: how FsEntry structs are createdLars Wirzenius1-41/+17
Now from a Metadata struct, instead of a bunch of field values. The justification for this is that callers shouldn't have to unpack a Metadata, especially since it'll be different for each operating system in the future. Keep all that in one place instead.
2020-12-11feat! store file metadata as JSONLars Wirzenius1-2/+3
This avoids having to add extra columns when we add more metadata support. This may be worth re-thinking later, once things stabilize.
2020-11-09fix: minor fixes found by clippyLars Wirzenius1-0/+1
2020-11-08feat: add FileSystemEntry to store metadata about files, etcLars Wirzenius1-0/+118