summaryrefslogtreecommitdiff
path: root/src/fsiter.rs
AgeCommit message (Collapse)AuthorFilesLines
2021-07-28FsIter: annotate entries belonging to CACHEDIR.TAGsAlexander Batischev1-7/+18
2021-07-21Replace FsIterResult with plain ResultAlexander Batischev1-6/+4
2021-04-29feat: improve error messagesLars Wirzenius1-6/+6
All unclear error messages should now be clearer. For example, all the ones related to a file mention the file name and the attempted operation that failed.
2021-04-21feat: add support for CACHEDIR.TAGAlexander Batischev1-11/+87
Fixes #78.
2021-03-12feat: handle files in directories that can be read but not executedLars Wirzenius1-6/+6
2021-03-12fix: backup and restore of symlinkLars Wirzenius1-1/+1
2021-02-19feat: back up and restore Unix domain socketsLars Wirzenius1-10/+22
2021-02-04refactor: have per-module error enumsLars Wirzenius1-3/+14
This means that a function that parses step bindings can't return an error that the document is missing a title. Such an error return would be nonsensical, and we use the Rust type system to prevent it, at a small cost of being a bit verbose. Additional benefit is that the library portion of Obnam doesn't return anyhow::Result values anymore.
2020-12-12feat: back up and restore symlinksLars Wirzenius1-2/+6
2020-12-11refactor: how FsEntry structs are createdLars Wirzenius1-6/+2
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-11-08feat: add FsIterator to iterate over a directory treeLars Wirzenius1-0/+37