With-files-write macro #6

Merged
BnMcGn merged 3 commits from master into master 2021-06-26 21:50:21 -05:00

3 Enmetoj

Author SHA1 Message Date
bnmcgn@gmail.com fc5cc5a256 Implemented with-files-write macro
- Bugfix: pin/ls didn't handle empty result correctly
- Bugfix: Fixed edge case in simplify
2021-06-24 16:24:14 -07:00
bnmcgn@gmail.com d5e641c3ea Adjusted conversion of JSON response
- IPFS sometimes returns the JSON response as a string, confusing the
  existing code. Switched to a check of :content-type in the response
  header.
- While we are at it, detect errors by testing the response code.
2021-05-17 07:42:10 -07:00
bnmcgn@gmail.com db8682b513 Debugged ipfs-files-write.
- Adjusted some supporting code for flexibility.
- Ipfs-files-write will take a pathname or a string as input.
2021-05-15 17:36:23 -07:00