summaryrefslogtreecommitdiff
path: root/bin/bbackupquery
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-13 23:50:04 +0000
commite77de564aaacaed07075eaac1974d35d09dd2bce (patch)
tree88c94bc1401c834d1f63243999a31fc311f50cd6 /bin/bbackupquery
parentcdd27f760290c27db7e3e1704e43eeceba07ea77 (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/bbackupquery')
0 files changed, 0 insertions, 0 deletions