| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include <Utils/Hash/Hash.hpp> | ||
| 2 | |||
| 3 | namespace Utils { | ||
| 4 | |||
| 5 | ✗ | const char* Hash ::getFileExtensionString() { | |
| 6 | ✗ | return HASH_EXTENSION_STRING; | |
| 7 | } | ||
| 8 | |||
| 9 | ✗ | Fw::FormatStatus Hash ::addFileExtension(const Fw::ConstStringBase& baseName, Fw::StringBase& extendedName) { | |
| 10 | ✗ | return extendedName.format("%s%s", baseName.toChar(), HASH_EXTENSION_STRING); | |
| 11 | } | ||
| 12 | |||
| 13 | ✗ | FwSizeType Hash ::getFileExtensionLength() { | |
| 14 | // Size of returns the size including the '\0' character. | ||
| 15 | // We want to return just the size of the string. | ||
| 16 | ✗ | return sizeof(HASH_EXTENSION_STRING) - 1; | |
| 17 | } | ||
| 18 | |||
| 19 | } // namespace Utils | ||
| 20 |