summaryrefslogtreecommitdiffstats
path: root/util/folder/path.cpp
diff options
context:
space:
mode:
authoraosipenko <[email protected]>2022-02-10 16:48:08 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:48:08 +0300
commit948fd24d47d4b3b7815aaef1686aea00ef3f4288 (patch)
tree8ad4c39c2a5f8b341bc02e3b0c5e8f26c40373cb /util/folder/path.cpp
parentd2eb4aae699fa2f6901bf32d22eec019c8f29838 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/folder/path.cpp')
-rw-r--r--util/folder/path.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/folder/path.cpp b/util/folder/path.cpp
index bfe0c67d687..96ebdc3dbec 100644
--- a/util/folder/path.cpp
+++ b/util/folder/path.cpp
@@ -335,7 +335,7 @@ bool TFsPath::Exists() const {
void TFsPath::CheckExists() const {
if (!Exists()) {
- ythrow TIoException() << "path does not exist " << Path_;
+ ythrow TIoException() << "path does not exist " << Path_;
}
}
@@ -452,7 +452,7 @@ void TFsPath::CopyTo(const TString& newPath, bool force) const {
void TFsPath::ForceRenameTo(const TString& newPath) const {
try {
RenameTo(newPath);
- } catch (const TIoSystemError& /* error */) {
+ } catch (const TIoSystemError& /* error */) {
CopyTo(newPath, true);
ForceDelete();
}