diff options
author | Arun Isaac | 2022-07-03 01:44:50 +0530 |
---|---|---|
committer | Arun Isaac | 2022-07-03 23:21:41 +0530 |
commit | 2562403d13daaabb1c6eb324b2c34b0c17e1656b (patch) | |
tree | c22f4ee45909f416f90d62ee3b3ab7501bb19d00 /guix.scm | |
parent | 7db5c16efe41ed0e57be24125f21edf94e78429e (diff) | |
download | tissue-2562403d13daaabb1c6eb324b2c34b0c17e1656b.tar.gz tissue-2562403d13daaabb1c6eb324b2c34b0c17e1656b.tar.lz tissue-2562403d13daaabb1c6eb324b2c34b0c17e1656b.zip |
tissue: Read files from git repository, not from the working tree.
This also frees us from checking if the file actually exists in the
working tree.
* bin/tissue (tissue-show): Use call-with-file-in-git instead of
call-with-input-file.
(load-config): Use call-with-file-in-git and eval-string instead of
load.
* tissue/document.scm: Import (tissue git).
(document-text, read-gemtext-document): Use call-with-file-in-git
instead of call-with-input-file.
* tissue/issue.scm (file-details): Read from a port instead of from a
file.
(read-gemtext-issue): Call file-details with a port reading the file
committed into the git repository.
* tissue/web/server.scm: Import (tissue git).
* tissue/web/static.scm (exporter): Use call-with-file-in-git instead
of call-with-input-file.
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions