diff options
Diffstat (limited to 'src/Storage.cpp')
-rw-r--r-- | src/Storage.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Storage.cpp b/src/Storage.cpp index 745ecfc..7d2b9ca 100644 --- a/src/Storage.cpp +++ b/src/Storage.cpp @@ -122,13 +122,6 @@ namespace QuickMedia { return fclose(file); } - int create_lock_file(const Path &path) { - int fd = open(path.data.c_str(), O_CREAT | O_EXCL); - if(fd == -1) - return errno; - return close(fd); - } - void for_files_in_dir(const Path &path, FileIteratorCallback callback) { for(auto &p : std::filesystem::directory_iterator(path.data)) { if(!callback(p.path())) |