Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
haileys
33 days ago
|
parent
|
context
|
favorite
| on:
Every GitHub object has two IDs
> 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.
zahlman
33 days ago
|
next
[–]
Reminds me of the BitTorrent protocol.
esafak
33 days ago
|
prev
[–]
Almost a URN.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
It's a classic length prefix. Repository has 10 chars, Tree has 4.