Commit Graph

4 Commits

Author SHA1 Message Date
Rémi Birot-Delrue dc6f74d269 Add tools to manipulate `file-information` objects, and a few other things.
* common.scm: add the constant `%time-relative-forever`.
* container/metadata.scm: add `#:filename` and `#:narinfo` meta-types.
* fs.scm: add tools to create and manipulate `file-information` objects:
          `file-information-add!`, `file-information-iterate`,
          `file->file-information` and `directory->file-information`,
	  remove `make-file-information`.
* tests/fs.scm: test those functions a little.
2015-08-21 20:50:56 +02:00
Rémi Birot-Delrue 9cef3b7d43 Code cleaning: various improvements and bug fixes.
* identity.scm: `open-identity-service` now throws an exception on failure.
* binding-utils.scm: just add `destructuring-bind`.
* common.scm: `time-rel` now throws an exception instead of returning a
              meaningless negative result; add `setup-log`.
* container/metadata.scm: `metadata-set!` now throws an exception on error.
* tests/container-metadata.scm: add tests for `metadata-copy`,
                                `metadata-clear`, `metadata-equal?`
                                and `add-publication-date!`
2015-08-10 19:18:22 +02:00
Rémi Birot-Delrue cb2028f885 Complete the container/metadata bindings. 2015-08-06 16:44:52 +02:00
Rémi Birot-Delrue 04bbbcef56 Initial commit. 2015-06-20 22:16:34 +02:00