Represents file data in the Manifest. More...
Public Types | |
|
typedef boost::shared_ptr < ManifestFileData > | SharedPtr |
Public Member Functions | |
| ManifestFileData (const std::string &a_fileName, const std::string &a_checksum, const std::string &a_filePath, bool a_isExecutable) | |
| Ctor. | |
| ~ManifestFileData () | |
| Dtor. | |
| const std::string & | getFileName () |
| Gets the file name associated with this manifest file data. | |
| const std::string & | getCheckSum () |
| Gets the file checksum associated with this manifest file data. | |
| const std::string & | getFilePath () |
| Gets the file path associated with this manifest file data. | |
| bool | isExecutable () |
| Gets whether the file has the executable bit set. | |
| bool | isLocalFileOk (const std::string &a_prefix) |
| Checks if the local file is ok. | |
| bool | isLocalReplacementFileOk (const std::string &a_prefix) |
| Checks if the replacement file that was downloaded is ok. | |
| bool | removeReplacement (const std::string &a_prefix) |
| Removes an old replacement file. | |
Represents file data in the Manifest.
| Tonido::Plugin::ManifestFileData::ManifestFileData | ( | const std::string & | a_fileName, |
| const std::string & | a_checksum, | ||
| const std::string & | a_filePath, | ||
| bool | a_isExecutable | ||
| ) |
Ctor.
Details if needed
| Tonido::Plugin::ManifestFileData::~ManifestFileData | ( | ) |
Dtor.
Details if needed