mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-23 07:28:51 -06:00
cmFilePathChecksum: Make methods const useable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user