summaryrefslogtreecommitdiff
path: root/lib/utils/mu-utils-file.hh
AgeCommit message (Collapse)Author
2026-03-17mu-utils-file: remove some unused codeDirk-Jan C. Binnema
2025-11-19utils/file: rework remove_directory, add testDirk-Jan C. Binnema
Make remove_directory not much less ugly, but at least more robust, e.g., when the "rm" binary is not at /bin/rm Add unit test
2024-01-01mu-init: guess maildir when --maildir is missingDirk-Jan C. Binnema
Re-instate the guessing that's in the manpage. Add unit tests. Update documentation. Fixes #2616.
2023-09-19mu-file-utils: add run_command0Dirk-Jan C. Binnema
To ensure command ran and had exit-code=0 in one go.
2023-09-19utils-file: default args for canonicalize_filename / determine_dtypeDirk-Jan C. Binnema
Make a little easier to use
2023-09-13utils-file: improve mu_playDirk-Jan C. Binnema
implement in terms of run_command
2023-09-10utils/file: add basename/dirname helpers and use themDirk-Jan C. Binnema
2023-08-06utils-file: don't use regexp in join_pathsDirk-Jan C. Binnema
It's slow.
2023-08-03utils: add expand_path (wordexp wrapper)Dirk-Jan C. Binnema
For expanding command-line options for shells that don't do that by themselves.
2023-07-18utils: rework running system commandsDirk-Jan C. Binnema
Use g_spawn and pass arguments, so we don't involve a shell that needs escaping etc. Improve error handling.
2023-07-10utils: add some more helpers for test codeDirk-Jan C. Binnema
Creating and removing (temp) dirs, running mu commands.
2023-04-29lib/utils: implement read_from_stdinDirk-Jan C. Binnema
2023-04-29utils: implement g_cancellable_new_with_timeoutDirk-Jan C. Binnema
2023-01-29utils: add join_paths + testsDirk-Jan C. Binnema
2023-01-14utils: get rid of mu-util.[ch]Dirk-Jan C. Binnema
It was getting old... Remove the unused parts, refactor the few parts still in use.