ipld / go-car

A content addressible archive utility
Other
145 stars 44 forks source link

Limit definitions #511

Closed wackazong closed 6 months ago

wackazong commented 6 months ago

I am working on a Rust implementation of a car utility. Could you help me shed some light on where go-car limits are defined?

Thanks!

willscott commented 6 months ago

Neither of these are limits specific to car as a file format, but are rather limits in unixfs - the encoding of file into blocks.

https://github.com/ipfs/go-unixfsnode/blob/main/data/builder/file.go#L299-L323 is probably a rough answer to your question

wackazong commented 6 months ago

Great, thanks. That will do.