Skip to content

Instantly share code, notes, and snippets.

@fd0

fd0/-

Created May 3, 2014
Embed
What would you like to do?
./khepri backup hashing !10148
2014/05/03 13:30:16 archiving dir "hashing"
2014/05/03 13:30:16 dir "hashing": 4 entries
2014/05/03 13:30:16 tree for "hashing" saved at bd76151390456301f80540e37a73e7c19ec7db60ad85c8832cf7a3d60b35e0b3
"hashing" archived as bd76151390456301f80540e37a73e7c19ec7db60ad85c8832cf7a3d60b35e0b3
% tree khepri-backup !10153
khepri-backup
├── objects
│   ├── 22a19eafb8c1a5a7de8bd703325e0ea94570ad8a9cc5c2ef886d47e6fdda958d
│   ├── 84074df5f6f46d5f679a14160057b283439dd037f409a5d90d50ef7c8e4cca1f
│   ├── bd76151390456301f80540e37a73e7c19ec7db60ad85c8832cf7a3d60b35e0b3
│   ├── c887d097c50a2780c924ae061e7f94f509dd6ee1a88e0d3f73986e77c6440aed
│   └── d5f3a0e9f0297b748518900ab15ed1ac116fd2855c142645aa07792eff3085c6
├── refs
└── tmp
% cat khepri-backup/objects/bd76151390456301f80540e37a73e7c19ec7db60ad85c8832cf7a3d60b35e0b3 !10154
{"nodes":[{"name":"hashing_suite_test.go","mode":420,"mtime":"2014-04-06T11:35:18.793905399+02:00","atime":"2014-04-06T11:35:18.793905399+02:00","user":1000,"group":100,"content":"84074df5f6f46d5f679a14160057b283439dd037f409a5d90d50ef7c8e4cca1f"},{"name":"hashing_example_test.go","mode":420,"mtime":"2014-04-06T12:35:51.558833519+02:00","atime":"2014-04-06T12:35:51.558833519+02:00","user":1000,"group":100,"content":"d5f3a0e9f0297b748518900ab15ed1ac116fd2855c142645aa07792eff3085c6"},{"name":"impl.go","mode":420,"mtime":"2014-04-06T12:22:19.463520991+02:00","atime":"2014-04-06T12:22:19.463520991+02:00","user":1000,"group":100,"content":"c887d097c50a2780c924ae061e7f94f509dd6ee1a88e0d3f73986e77c6440aed"},{"name":"hashing_test.go","mode":420,"mtime":"2014-04-06T22:24:34.39663446+02:00","atime":"2014-04-06T22:24:34.39663446+02:00","user":1000,"group":100,"content":"22a19eafb8c1a5a7de8bd703325e0ea94570ad8a9cc5c2ef886d47e6fdda958d"}]}
% python -mjson.tool khepri-backup/objects/bd76151390456301f80540e37a73e7c19ec7db60ad85c8832cf7a3d60b35e0b3
{
"nodes": [
{
"atime": "2014-04-06T11:35:18.793905399+02:00",
"content": "84074df5f6f46d5f679a14160057b283439dd037f409a5d90d50ef7c8e4cca1f",
"group": 100,
"mode": 420,
"mtime": "2014-04-06T11:35:18.793905399+02:00",
"name": "hashing_suite_test.go",
"user": 1000
},
{
"atime": "2014-04-06T12:35:51.558833519+02:00",
"content": "d5f3a0e9f0297b748518900ab15ed1ac116fd2855c142645aa07792eff3085c6",
"group": 100,
"mode": 420,
"mtime": "2014-04-06T12:35:51.558833519+02:00",
"name": "hashing_example_test.go",
"user": 1000
},
{
"atime": "2014-04-06T12:22:19.463520991+02:00",
"content": "c887d097c50a2780c924ae061e7f94f509dd6ee1a88e0d3f73986e77c6440aed",
"group": 100,
"mode": 420,
"mtime": "2014-04-06T12:22:19.463520991+02:00",
"name": "impl.go",
"user": 1000
},
{
"atime": "2014-04-06T22:24:34.39663446+02:00",
"content": "22a19eafb8c1a5a7de8bd703325e0ea94570ad8a9cc5c2ef886d47e6fdda958d",
"group": 100,
"mode": 420,
"mtime": "2014-04-06T22:24:34.39663446+02:00",
"name": "hashing_test.go",
"user": 1000
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment