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 | b91bcef7c99a119b0846479ef71bfab4beec72ca (patch) | |
tree | be118d54d12a61bc4812ceb0a266a170a2fa3bc9 /util/folder/path.cpp | |
parent | f421873774cf0b71743afbe5f6677861e66601ea (diff) | |
download | ydb-b91bcef7c99a119b0846479ef71bfab4beec72ca.tar.gz |
Restoring authorship annotation for <ermolovd@yandex-team.ru>. Commit 1 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 bfe0c67d687..83bbfb26427 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); |