aboutsummaryrefslogtreecommitdiff
path: root/src/relocation.c
Commit message (Collapse)AuthorAgeFilesLines
* indexer: Handle destination directories more gracefully (#28)Joseph Hunkeler2024-08-151-5/+17
| | | | | | | | | | | | | | | | | | | | * Handle destination directories more gracefully * The storage.output_dir is now the storage.root to avoid generating a sub-directory beneath the temporary working directory * The destination directory is created, then resolved by realpath to avoid generating the destination directory within the temporary working directory when a relative path is used as input * Replace the original file instead of using rename() * rename() cannot operate across file system boundaries * Dynamically allocate rootdirs array * Use realpath on positional arguments * Convert all markdown files to HTML * README.html files are considered entry points and are linked as index.html * Assign retcode after indexing
* Rebrand OhMyCal (OMC) as STASIS (#7)Joseph Hunkeler2024-06-211-2/+2
|
* DocumentationJoseph Hunkeler2024-05-161-2/+2
|
* Add REPLACE_TRUNCATE_AFTER_MATCH mode to replace_textJoseph Hunkeler2024-04-021-3/+11
|
* Fix replace_text*() functionsJoseph Hunkeler2024-04-021-30/+76
| | | | | * Now return an error code * Completely rewrote replace_text()
* Replaces BUFSIZ with OMC_BUFSIZJoseph Hunkeler2023-11-201-2/+2
|
* Add commentsJoseph Hunkeler2023-11-031-105/+27
|
* Initial commitJoseph Hunkeler2023-10-261-0/+167