aboutsummaryrefslogtreecommitdiff
path: root/lib/fs.c
Commit message (Collapse)AuthorAgeFilesLines
* Move find.c functions into fs.cJoseph Hunkeler2020-06-051-1/+71
|
* Refactor fstree (#39)Joseph Hunkeler2020-06-031-78/+104
| | | | | | | | | | | | | | | * Refactor fstree, fstree_free, FSTree type * Add FSRec structure * Refactor fstree usage * Decrease starting size of FSTree structure * Check if ManifestPackage is NULL, not if the requirements array if NULL * Use num_requirements instead of '!= NULL' * Add fstree test
* file_readlines now accepts STDIN (filename = "-")Joseph Hunkeler2020-05-261-7/+22
|
* NevermindJoseph Hunkeler2020-05-261-0/+1
|
* readlines() return NULL array instead of array with a blank string.Joseph Hunkeler2020-05-251-1/+0
|
* Move file_readlines function out of mirrors.cJoseph Hunkeler2020-05-251-0/+83
|
* Implement error handlingJoseph Hunkeler2020-04-191-2/+0
| | | | * Die on bad root directory
* spm_mkdtemp requires a base directory:Joseph Hunkeler2020-04-181-3/+11
| | | | * test_spm_mkdtemp revealed a difference in how variables are stored (Linux vs. MacOS)
* Add functions:Joseph Hunkeler2020-04-141-0/+127
| | | | | | | | | | | touch() fslist() * Add type: struct FSList * Consolidate platform specific includes
* lib/fs.cJoseph Hunkeler2020-04-101-2/+5
|
* Fail if seek failsJoseph Hunkeler2020-04-091-1/+3
|
* Fix a few memory leaks:Joseph Hunkeler2020-03-251-0/+1
| | | | * Cannot free array of manifests successfully though... TODO
* Refactor project: build/install libspm[_static.a].so to make unit testing ↵Joseph Hunkeler2020-03-181-0/+504
possible