summaryrefslogtreecommitdiff
path: root/src/basic/path-util.c
Commit message (Expand)AuthorAgeFilesLines
* various: don't say that the timestamp 'changed' on initial loadZbigniew Jędrzejewski-Szmek2021-06-021-3/+5
* path-util: add missing varargs cleanupYu Watanabe2021-05-281-2/+3
* path-util: make path_simplify() use path_find_first_component()Yu Watanabe2021-05-281-37/+27
* tree-wide: always drop unnecessary dot in pathYu Watanabe2021-05-281-9/+9
* path-util: make path_extract_filename/directory() handle "." gracefullyYu Watanabe2021-05-281-40/+39
* path-util: introduce path_find_last_component()Yu Watanabe2021-05-281-0/+103
* path-util: use path_equal() in empty_or_root()Yu Watanabe2021-05-281-3/+3
* path-util: make path_compare() and path_hash_func() ignore "."Yu Watanabe2021-05-281-23/+28
* path-util: use path_find_first_component() in path_make_relative()Yu Watanabe2021-05-281-60/+63
* path-util: use path_find_first_component() in path_startswith()Yu Watanabe2021-05-281-15/+12
* path-util: use path_is_safe() in path_is_normalized()Yu Watanabe2021-05-281-9/+2
* path-util: introduce path_is_safe()Yu Watanabe2021-05-281-2/+2
* path-util: use path_find_first_component() in path_is_valid()Yu Watanabe2021-05-281-12/+5
* path-util: introduce path_find_first_component()Yu Watanabe2021-05-281-0/+84
* path-util: fix off by one issue to detect slash at the end in path_extend()Yu Watanabe2021-05-281-1/+1
* tree-wide: make use of path_extend() at many placesLennart Poettering2021-05-271-5/+4
* path-util: add path_extend(), inspired by strextend(), but using path_join()Lennart Poettering2021-05-271-19/+34
* basic: add path_equal_filename helperLuca Boccassi2021-04-071-0/+21
* util: add creds-util.[ch] with helpers for dealing with credentialsLennart Poettering2021-03-261-6/+0
* path-util: return O_DIRECTORY from path_extract_filename() when path ends in ...Lennart Poettering2021-03-021-5/+16
* path-util: add path_extract_directory(), to match path_extract_filename()Lennart Poettering2021-03-021-0/+42
* Move and rename parse_path_argument() functionZbigniew Jędrzejewski-Szmek2021-02-151-32/+0
* path-util: tighten path_is_valid() checksLennart Poettering2021-02-031-4/+19
* path-util: tighten path_extract_filename()Lennart Poettering2021-02-021-12/+13
* path-util: simplify check_x_access()Yu Watanabe2021-01-201-23/+11
* path-util: also check absolute path is a directory or not in find_executable()Yu Watanabe2021-01-191-29/+28
* Merge pull request #17079 from keszybz/late-exec-resolutionLennart Poettering2020-12-031-8/+44
|\
| * basic/path-util: let find_executable_full() optionally return an fdZbigniew Jędrzejewski-Szmek2020-11-061-8/+44
* | license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* | macro: introduce POINTER_MAX as define for (void*) -1Lennart Poettering2020-10-221-2/+2
|/
* basic/path-util: enhance find_executable() for the fixed path caseZbigniew Jędrzejewski-Szmek2020-09-181-4/+6
* basic/path-util: inline two trivial functionsZbigniew Jędrzejewski-Szmek2020-09-181-8/+0
* Rename find_binary to find_executableZbigniew Jędrzejewski-Szmek2020-09-181-13/+7
* path: Improve $PATH search directory caseChris Down2020-08-271-7/+18
* Merge pull request #16568 from poettering/creds-storeZbigniew Jędrzejewski-Szmek2020-08-261-0/+7
|\
| * core: add credentials logicLennart Poettering2020-08-251-0/+7
* | path: Skip directories when finalising $PATH searchChris Down2020-08-261-0/+3
|/
* shared: introduce mkfs-util.c/.hLennart Poettering2020-08-241-12/+0
* path-util: make use of TAKE_PTR() where we canLennart Poettering2020-07-301-4/+2
* journalctl,elsewhere: make sure --file=foo fails with sane error msg if foo i...Lennart Poettering2020-05-191-1/+1
* namespace: ignore prefix chars when comparing pathsTopi Miettinen2020-03-101-0/+16
* path-util: introduce path_strv_contains() helperLennart Poettering2020-01-091-0/+10
* tree-wide: drop stat.h or statfs.h when stat-util.h is includedYu Watanabe2019-11-041-1/+0
* tree-wide: drop string.h when string-util.h or friends are includedYu Watanabe2019-11-041-1/+0
* tree-wide: drop missing.hYu Watanabe2019-10-311-1/+0
* basic/fs-util: change CHASE_OPEN flag into a separate output parameterZbigniew Jędrzejewski-Szmek2019-10-241-1/+1
* util-lib: Don't propagate EACCES from find_binary PATH lookup to callerChris Down2019-09-261-1/+3
* basic/path-util: move two path_simplify* functions to be adjacentZbigniew Jędrzejewski-Szmek2019-07-191-46/+46
* path-util: add path_startswith_strv()Zbigniew Jędrzejewski-Szmek2019-07-191-0/+12
* Merge pull request #12836 from yuwata/tree-wide-replace-strjoinLennart Poettering2019-06-221-5/+2
|\