Interrim checkin

This commit is contained in:
Robin Davies
2023-03-21 08:34:35 -04:00
parent 3ab431779a
commit 7a9fc9a2ad
5 changed files with 76 additions and 30 deletions
+8
View File
@@ -93,6 +93,9 @@ namespace pipedal {
const std::vector<PiPedalFileType> &fileTypes() const { return fileTypes_; }
const std::string &patchProperty() const { return patchProperty_; }
bool IsValidExtension(const std::string&extension) const;
static bool IsDirectoryNameValid(const std::string&value);
public:
DECLARE_JSON_MAP(PiPedalFileProperty);
};
@@ -108,4 +111,9 @@ namespace pipedal {
private:
std::vector<PiPedalFileProperty::ptr> fileProperites_;
};
// Utiltities for validating file paths received via PiPedalFileProperty-related APIs.
bool IsAlphaNumeric(const std::string&value);
};