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 <cstdio>
14
24
#define file_exists(file) g_file_test (file, G_FILE_TEST_EXISTS)
25
26
char
*
27
file_path_relative_to (
const
char
* path,
const
char
* base);
28
29
int
30
file_symlink (
const
char
* old_path,
const
char
* new_path);
31
37
int
38
file_reflink
(
const
char
* dest,
const
char
* src);
39
44
#endif
file_reflink
int file_reflink(const char *dest, const char *src)
Do cp –reflink from src to dest.
utils
file.h
Generated by
1.11.0