fs-util: make symlink_idempotent() optionally create relative link
This commit is contained in:
committed by
Lennart Poettering
parent
bee13f2e49
commit
6c9c51e5e2
+1
-1
@@ -37,7 +37,7 @@ int fd_warn_permissions(const char *path, int fd);
|
||||
int touch_file(const char *path, bool parents, usec_t stamp, uid_t uid, gid_t gid, mode_t mode);
|
||||
int touch(const char *path);
|
||||
|
||||
int symlink_idempotent(const char *from, const char *to);
|
||||
int symlink_idempotent(const char *from, const char *to, bool make_relative);
|
||||
|
||||
int symlink_atomic(const char *from, const char *to);
|
||||
int mknod_atomic(const char *path, mode_t mode, dev_t dev);
|
||||
|
||||
Reference in New Issue
Block a user