summaryrefslogtreecommitdiff
path: root/bin/bbackupd/BackupDaemonInterface.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2015-11-26 23:32:29 +0000
committerChris Wilson <chris+github@qwirx.com>2015-12-12 23:04:21 +0000
commitc459a8b5c88d82c44874edc6933c53a2b2a422d1 (patch)
tree46ee342430ed05f3235d8b2a50dbec85d15e4762 /bin/bbackupd/BackupDaemonInterface.h
parentb692c4737d305d52289fb0d4d09cb18e998d0e22 (diff)
Add some little string functions to Utils.cpp.
These functions check whether the beginning and end of a std::string match a supplied prefix or suffix, and remove that prefix or suffix, returning the remaining part. They are almost but not entirely trivial, and giving them names makes the code that uses them much more readable.
Diffstat (limited to 'bin/bbackupd/BackupDaemonInterface.h')
0 files changed, 0 insertions, 0 deletions