* Add a single file to the scanned files of a tar, circumventing the scanning code. * @param sd The sub directory the file is in. * @param filename The name of the file to add. * @return True if the additions went correctly. */
| 417 | * @return True if the additions went correctly. |
| 418 | */ |
| 419 | bool TarScanner::AddFile(Subdirectory sd, const std::string &filename) |
| 420 | { |
| 421 | this->subdir = sd; |
| 422 | return this->AddFile(filename, 0); |
| 423 | } |
| 424 | |
| 425 | /** |
| 426 | * Helper to extract a string for the tar header. We must assume that the tar |