aboutsummaryrefslogtreecommitdiffstats
path: root/util/folder/path.cpp
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:13 +0300
commit736dcd8ca259457a136f2f9f9168c44643914323 (patch)
treeddd46a036d68bfa83aa11b892f31243ea6b068a1 /util/folder/path.cpp
parent9bf2fa2b060c9881d3135c2208c624a1dd546ecc (diff)
downloadydb-736dcd8ca259457a136f2f9f9168c44643914323.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util/folder/path.cpp')
-rw-r--r--util/folder/path.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/folder/path.cpp b/util/folder/path.cpp
index bfe0c67d68..cdb1d6cd6f 100644
--- a/util/folder/path.cpp
+++ b/util/folder/path.cpp
@@ -188,21 +188,21 @@ TFsPath::TSplit& TFsPath::GetSplit() const {
static Y_FORCE_INLINE void VerifyPath(const TStringBuf path) {
Y_VERIFY(!path.Contains('\0'), "wrong format of TFsPath");
-}
-
+}
+
TFsPath::TFsPath() {
}
TFsPath::TFsPath(const TString& path)
: Path_(path)
{
- VerifyPath(Path_);
+ VerifyPath(Path_);
}
TFsPath::TFsPath(const TStringBuf path)
: Path_(ToString(path))
{
- VerifyPath(Path_);
+ VerifyPath(Path_);
}
TFsPath::TFsPath(const char* path)
@@ -330,7 +330,7 @@ TFsPath TFsPath::ReadLink() const {
}
bool TFsPath::Exists() const {
- return IsDefined() && NFs::Exists(*this);
+ return IsDefined() && NFs::Exists(*this);
}
void TFsPath::CheckExists() const {
@@ -459,7 +459,7 @@ void TFsPath::ForceRenameTo(const TString& newPath) const {
}
TFsPath TFsPath::Cwd() {
- return TFsPath(::NFs::CurrentWorkingDirectory());
+ return TFsPath(::NFs::CurrentWorkingDirectory());
}
const TPathSplit& TFsPath::PathSplit() const {