diff options
author | aosipenko <aosipenko@yandex-team.ru> | 2022-02-10 16:48:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:08 +0300 |
commit | 69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /util/folder/path.cpp | |
parent | 948fd24d47d4b3b7815aaef1686aea00ef3f4288 (diff) | |
download | ydb-69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f.tar.gz |
Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/folder/path.cpp')
-rw-r--r-- | util/folder/path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/folder/path.cpp b/util/folder/path.cpp index 96ebdc3dbe..bfe0c67d68 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(); } |