cmFilePathChecksum: Make methods const useable

This commit is contained in:
Sebastian Holtermann
2017-02-15 00:00:51 +01:00
parent d3a9887149
commit 2296a2e9ee
2 changed files with 4 additions and 4 deletions

View File

@@ -47,13 +47,13 @@ public:
/* @brief Calculates the path checksum for the parent directory of a file
*
*/
std::string get(const std::string& filePath);
std::string get(const std::string& filePath) const;
/* @brief Same as get() but returns only the first length characters
*
*/
std::string getPart(const std::string& filePath,
size_t length = partLengthDefault);
size_t length = partLengthDefault) const;
private:
/// Size of the parent directory list