kubo/unixfs
Mib Kd743naq 8ee4280f7b Switch unixfs.Metadata.MimeType to optional
*** THIS IS A BREAKING CHANGE *** as per [1]: "Required is forever"

Nevertheless this seems like a good idea at this time: there are no known
producers ( nor consumers ) of MetaData nodes, and the current requirement
of MimeType has an extremely narrow application scope.

This change could very well be rejected in lieu of implementing a new type
of node ( e.g. TheRealMetadata ) in the DataType enum.

Based on https://github.com/ipfs/go-ipfs/issues/3451#issuecomment-264246718

License: MIT
Signed-off-by: Mib Kd743naq <mib.kd743naq@gmail.com>

[1] https://developers.google.com/protocol-buffers/docs/proto#specifying-field-rules
2016-12-02 06:43:15 +01:00
..
archive Move proto-dag reader to separate file and change name 2016-11-21 18:10:21 +01:00
io bubble up go-datastore deps 2016-11-28 22:29:38 -08:00
mod bubble up go-datastore deps 2016-11-28 22:29:38 -08:00
pb Switch unixfs.Metadata.MimeType to optional 2016-12-02 06:43:15 +01:00
test bubble up go-datastore deps 2016-11-28 22:29:38 -08:00
format_test.go remove gogo-protobuf from godeps, use gx vendored 2016-02-12 17:21:40 -08:00
format.go Changed so only explicit ipfs cli commands are lowercased 2016-10-27 22:55:13 -07:00