Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
file.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2020 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
10#ifndef __UTILS_FILE_H__
11#define __UTILS_FILE_H__
12
13#include <stdio.h>
14
24#define file_exists(file) g_file_test (file, G_FILE_TEST_EXISTS)
25
26char *
27file_path_relative_to (const char * path, const char * base);
28
29int
30file_symlink (const char * old_path, const char * new_path);
31
37int
38file_reflink (const char * dest, const char * src);
39
44#endif
int file_reflink(const char *dest, const char *src)
Do cp –reflink from src to dest.