blob: 04d6dfba205b49e695ea9ce23847db3684575f6f (
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(const char *path, int nbranch_ro, int nbranch_rw);
int path_create_cutlast(const char *path, int nbranch_ro, int nbranch_rw);
int copy_directory(const char *path, int branch_ro, int branch_rw);
#endif
|