blob: 389224ad58c78d3155e1def4e15bd02bb7b3b2c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
* License: BSD-style license
* Copyright: Radek Podgorny <radek@podgorny.cz>,
* Bernd Schubert <bernd-schubert@gmx.de>
*/
#ifndef COW_H
#define COW_H
#include <sys/stat.h>
int cow_cp(const char *path, int branch_ro, int branch_rw, bool copy_dir);
int path_create_cow(const char *path, int nbranch_ro, int nbranch_rw);
int path_create_cutlast_cow(const char *path, int nbranch_ro, int nbranch_rw);
int copy_directory(const char *path, int branch_ro, int branch_rw);
#endif
|