On Wed, Jun 12, 2019 at 12:20:36PM -0400, Ian Denhardt wrote:
> > pk-put a link on copies.
>
> Can you elaborate on what you mean by this?
>
> --
> You received this message because you are subscribed to the Google Groups "Perkeep" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
perkeep+u...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/perkeep/156035643650.6388.6708542554667557276%40localhost.localdomain.
A permanode is
{
"camliVersion": 1,
"camliSigner": "sha224-5c1c77bc4df9eb027f7804b678f77e771a7a69989e626954480d272a",
"camliType": "permanode",
"claimDate": "2019-06-02T17:09:11.506488935Z",
"random": "Sc08fLUnCvyAuH/s98Jnzrgs9aU=",
"camliSig": "wsBcBAABCAAQBQJc9AK3CRAdaMP0l06jiwAAL0kIALriBpbm/NYjHtC99wpyn6+BCmbCNaOoOY3JEwpxlPnSeAp5MVX6nHWRKZFHFpEEZ/MWgS73+b7JdUTOoCQ5Rpaxu4JE1TIQtV67Ye7Q6M66g0pB5aImknMmR78Sy3sypyBZ/TQ6wy32eGRijftjpdjAGHghX4M3TbBGYZVzPHaeeh1VFcRiC9LiMF3FARce2E5YsHwZG8C6tIpvuji7AxqRhDbkT/IINC6UDFowM6WdOiNgYNDjyGSyhH3OoDH1Z3zV9svzmdv8sQpB7yTpk2VlTZcIX9g/+GEhusT8p+4gBk9bFtJ3T6dsCVIi2bdWpJbsWb3KJh88kg1/c0uLR2c==CQ29"
}
It's camliContent attribute may be sha224-4b36a6dd464e39a63bceebbc07ff094dff5b3c3b24d2ef20f632afba
which is
{
"camliVersion": 1,
"camliType": "file",
"fileName": "IMG_20190602_185859_HDR.jpg",
"parts": [
{
"blobRef": "sha224-c3b02935185579ff8d1eea773f33af33b89c21cf1993c4ab942a1bd0",
"size": 262144
},
{
"bytesRef": "sha224-882cc1b2a5d2139eb5b283e476ffc5929fd9a076f2bbff746e3efa43",
"size": 683332
},
{
"blobRef": "sha224-00413383533f266768d245f0eacb01efdc76ec0b7211ac182f4bb600",
"size": 67649
},
{
"blobRef": "sha224-385442355bc9c74935df5e9902e840dc23e78b2d9dc33f2f5f54c45d",
"size": 68654
},
{
"blobRef": "sha224-c60c0c7917b84edb8e3812ef4d9879d1074930e208a8e23fe26d5756",
"size": 80535
},
{
"blobRef": "sha224-e89465cef632f50294f1ba3b5fbcd83d18fb50161279149da8342403",
"size": 70209
},
{
"blobRef": "sha224-08afe52d1f5258cf2bd0b75f63f3f0e4aa45f04f0160f4349c777fce",
"size": 43070
}
]
}
a file.
And a file is just that: it has a version, a type, a fileName, and
parts.
Either you can duplicate the file by duplicating a file blob with
different fileName, or you can create another permanode with the same
camliContent ("pk-put permanode", then "pk-put attr <perma> camliContent
<content>").
Tamás Gulácsi