contentlocationn: New plumbing command.

This commit is contained in:
Joey Hess 2015-04-09 15:34:47 -04:00
parent b22aacab44
commit ce0a82f493
8 changed files with 84 additions and 0 deletions

View file

@ -2,3 +2,4 @@
Current layout is DIRHASH (of two levels) /KEY/KEY, so I would need to hardcode having that KEY directory. It might be nice to either make DIRHASH to return full hash directory (but it might break existing special remotes), or supplement with e.g. DIRHASHFULL which would return all the levels necessary to reach the KEY file
> [[done]] --[[Joey]]

View file

@ -0,0 +1,14 @@
[[!comment format=mdwn
username="joey"
subject="""comment 3"""
date="2015-04-09T19:08:40Z"
content="""
I've added a contentlocation command
I'd expect an external command to not be much slower than using the pipe
for this. It does not need to spin up any git commands etc to get the
content location. Also, you can pass it multiple keys to query at one time
if necessary.
I guess we'll see if this is too slow and can revisit it if so..
"""]]