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