Part of lp.archiveuploader.nascentuploadfile View In Hierarchy
Known subclasses: lp.archiveuploader.dscfile.DSCUploadedFile, lp.archiveuploader.nascentuploadfile.CustomUploadFile, lp.archiveuploader.nascentuploadfile.PackageUploadFile
The filename, along with information about it, is kept here.
Method | __init__ | Undocumented |
Method | content_type | The content type for this file. |
Method | filename | Return the NascentUpload filename. |
Method | dirname | Return the NascentUpload filename. |
Method | exists_on_disk | Whether or not the file is present on disk. |
Method | storeInDatabase | Implement this to store this representation in the database. |
Method | verify | Implemented locally. |
Method | checkNameIsTaintFree | Verify if the filename contains forbidden characters. |
Method | checkSizeAndCheckSum | Check the size and checksums of the nascent file. |
Return a value ready for adding to the librarian.
It does specific checks acording the subclass type and returns an iterator over all the encountered errors and warnings.