Hacker News new | ask | show | jobs
by haileys 156 days ago
> That repository ID (010:Repository2325298) had a clear structure: 010 is some type enum, followed by a colon, the word Repository, and then the database ID 2325298.

It's a classic length prefix. Repository has 10 chars, Tree has 4.

2 comments

Reminds me of the BitTorrent protocol.
Almost a URN.