diff options
Diffstat (limited to 'src/FileEntry.h')
| -rw-r--r-- | src/FileEntry.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/FileEntry.h b/src/FileEntry.h index 9e760a83..5f381d0c 100644 --- a/src/FileEntry.h +++ b/src/FileEntry.h @@ -85,6 +85,9 @@ private: std::string path_; std::string contentType_; std::string originalName_; + // path_ without parent directory component. This is primarily used + // to change directory (PREF_DIR option). + std::string suffixPath_; Timer lastFasterReplace_; int maxConnectionPerServer_; @@ -264,6 +267,13 @@ public: return originalName_; } + void setSuffixPath(std::string suffixPath); + + const std::string& getSuffixPath() const + { + return suffixPath_; + } + bool removeUri(const std::string& uri); bool emptyRequestUri() const; |
