diff options
author | ermolovd <ermolovd@yandex-team.ru> | 2022-02-10 16:47:53 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:53 +0300 |
commit | 2a4a975b112fa0fa138abc7457fe67e0e1e7fd02 (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /util/folder/path.cpp | |
parent | b91bcef7c99a119b0846479ef71bfab4beec72ca (diff) | |
download | ydb-2a4a975b112fa0fa138abc7457fe67e0e1e7fd02.tar.gz |
Restoring authorship annotation for <ermolovd@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/folder/path.cpp')
-rw-r--r-- | util/folder/path.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/folder/path.cpp b/util/folder/path.cpp index 83bbfb2642..bfe0c67d68 100644 --- a/util/folder/path.cpp +++ b/util/folder/path.cpp @@ -427,7 +427,7 @@ void TFsPath::CopyTo(const TString& newPath, bool force) const { if (force) { TFsPath(newPath).MkDirs(); } else if (!TFsPath(newPath).IsDirectory()) { - ythrow TIoException() << "Target path is not a directory " << newPath; + ythrow TIoException() << "Target path is not a directory " << newPath; } TVector<TFsPath> children; List(children); @@ -439,10 +439,10 @@ void TFsPath::CopyTo(const TString& newPath, bool force) const { TFsPath(newPath).Parent().MkDirs(); } else { if (!TFsPath(newPath).Parent().IsDirectory()) { - ythrow TIoException() << "Parent (" << TFsPath(newPath).Parent() << ") of a target path is not a directory " << newPath; + ythrow TIoException() << "Parent (" << TFsPath(newPath).Parent() << ") of a target path is not a directory " << newPath; } if (TFsPath(newPath).Exists()) { - ythrow TIoException() << "Path already exists " << newPath; + ythrow TIoException() << "Path already exists " << newPath; } } NFs::Copy(Path_, newPath); |