File: day_411__metadata_--batch.mdwn

package info (click to toggle)
git-annex 6.20170101-1%2Bdeb9u2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 50,088 kB
  • sloc: haskell: 53,116; sh: 1,582; ansic: 341; makefile: 292; perl: 144
file content (4 lines) | stat: -rw-r--r-- 263 bytes parent folder | download | duplicates (7)
1
2
3
4
With yesterday's JSON groundwork in place, I quickly implemented `git annex
metadata --batch` today in only 45 LoC. The interface is nicely elegant;
the same JSON format that git-annex metadata outputs can be fed into it
to get, set, delete, and modify metadata.