dbprocessing.Diskfile¶
Information regarding a file as stored on disk.
Functions
|
Calculate the SHA1 digest from a file. |
Classes
|
Diskfile class contains methods for dealing with files on disk |
Exceptions
|
Exception that is thrown by calcDigest. |
|
Exception especially for created filenames showing that they are wrong |
|
Exception that input is bad to the DiskFile class |
|
Exception that a file is not readable by the script, probably doesn't exist |
|
Exception that a file is not write able by the script |
- exception dbprocessing.Diskfile.DigestError(*params)[source]¶
Exception that is thrown by calcDigest.
Notes
Maybe just combine this with ReadError for the current purpose
- exception dbprocessing.Diskfile.FilenameError(*params)[source]¶
Exception especially for created filenames showing that they are wrong
- exception dbprocessing.Diskfile.InputError(*params)[source]¶
Exception that input is bad to the DiskFile class
- exception dbprocessing.Diskfile.ReadError(*params)[source]¶
Exception that a file is not readable by the script, probably doesn’t exist
- exception dbprocessing.Diskfile.WriteError(*params)[source]¶
Exception that a file is not write able by the script
probably doesn’t exist or in a ro directory
Release: 0.1.0 Doc generation date: Feb 10, 2022