Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/fsck.py
Commit message (Collapse)AuthorAgeFilesLines
* Print some statistics at end of fsck runArthur de Jong2015-07-031-0/+7
|
* Name unknown file or directoryArthur de Jong2015-06-301-6/+6
| | | | When fsck finds an unknown file, it could also be a directory.
* Refactor out check_archive() functionArthur de Jong2015-06-261-38/+42
|
* Change metadata informationArthur de Jong2015-06-251-18/+8
| | | | | | | | | | This changes the information in the metadata dict to include the file type in a separate field and limit the mode information to standard permissions only. Upon reading files lists from the repository the old format is automatically converted. This changes local cache file to ensure all information is re-read (the previous commit also already required this).
* Split out backend functions from repoArthur de Jong2015-06-201-11/+11
| | | | | | This creates a FileBackend class (from parts of the FileRepository class that is now renamed to Repository) that implements a simple API that can also be provided by other backends.
* Add a --clean option to fsckArthur de Jong2015-05-171-13/+19
| | | | | The option removes files from the repository that either are currupt, unknown or have become redundant.
* Add an fsck commandArthur de Jong2015-05-171-0/+295
This command checks the repository to see if any files are missing or corrupt and whether backups can still be restored. This currently only reads meta-data files and only checks archive files presence.