diff options
| author | ivanmorozov <[email protected]> | 2022-02-10 16:47:33 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:33 +0300 |
| commit | cba5d9a444e2cfe105f55ccda66cd21d50440017 (patch) | |
| tree | 79983e83d1a91aebeb1999338090eec69e24cc33 /util/system/fs.cpp | |
| parent | eb540cc7a103419462d0cc870ca403966e2194c6 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/fs.cpp')
| -rw-r--r-- | util/system/fs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/system/fs.cpp b/util/system/fs.cpp index d2611a8ccc4..33b23d09dec 100644 --- a/util/system/fs.cpp +++ b/util/system/fs.cpp @@ -95,9 +95,9 @@ bool NFs::Rename(const TString& oldPath, const TString& newPath) { void NFs::HardLinkOrCopy(const TString& existingPath, const TString& newPath) { if (!NFs::HardLink(existingPath, newPath)) { Copy(existingPath, newPath); - } -} - + } +} + bool NFs::HardLink(const TString& existingPath, const TString& newPath) { #if defined(_win_) return NFsPrivate::WinHardLink(existingPath, newPath); |
