| 1 | #pragma once | 
|---|---|
| 2 | |
| 3 | #include <Core/Types.h> | 
| 4 | |
| 5 | namespace DB | 
| 6 | { | 
| 7 | |
| 8 | /// Create a hard link `destination_path` pointing to `source_path`. | 
| 9 | /// If the destination already exists, check that it has the same inode (and throw if they are different). | 
| 10 | void createHardLink(const String & source_path, const String & destination_path); | 
| 11 | |
| 12 | } | 
| 13 | 
