summaryrefslogtreecommitdiffstats
path: root/src/filesystem.c
AgeCommit message (Collapse)AuthorFilesLines
2020-12-18Windows: Prefer backslash as a path separatorDavid Robillard1-1/+24
This situation is, as always, a total nightmare. In an attempt to not make weird paths with mixed separators, a heuristic is used here which uses forward slash if it seems that the input paths do. Otherwise, backslash (the "preferred" separator on Windows despite all good sense) is used.
2020-12-18Windows: Don't bother trying to create symbolic linksDavid Robillard1-6/+1
This only works on modern systems with "Developer Mode" enabled, so everything needs to work without them in reality anyway.
2020-12-18Windows: Fix leaking directory handlesDavid Robillard1-0/+1
2020-12-18Add lilv_path_absolute_child()David Robillard1-0/+10
2020-12-18Add lilv_path_filename()David Robillard1-0/+22
2020-11-11Fix potential memory error when joining filesystem pathsDavid Robillard1-4/+5
2020-08-07Fix error handling when copying filesDavid Robillard1-0/+4
2020-08-06Implement file locking on WindowsDavid Robillard1-1/+14
2020-08-06Add lilv_remove()David Robillard1-0/+12
2020-08-06Fix lilv_create_directories() error handling when path is a fileDavid Robillard1-1/+2
2020-08-06Make lilv_dir_for_each() ignore dot entriesDavid Robillard1-2/+6
2020-08-06Add lilv_create_temporary_directory()David Robillard1-0/+40
2020-08-06Add lilv_is_directory()David Robillard1-0/+8
2020-08-06Add lilv_path_current()David Robillard1-0/+6
2020-08-06Add lilv_temp_directory_path()David Robillard1-0/+19
2020-08-06Add block parameter to lilv_flockDavid Robillard1-2/+3
2020-08-06Remove lilv_dir_path()David Robillard1-20/+1
This function was weird. Instead, to make a directory path with trailing separator, join nothing as in Python.
2020-08-06Rename some filename utilities for clarityDavid Robillard1-5/+5
Loosely inspired by Python and the std::filesystem API.
2020-08-06Separate filesystem utilitiesDavid Robillard1-0/+405