func (b *indexV1) GetInfo(contentID ID) (Info, error) {
	var entryBuf [v1MaxEntrySize]byte

	e, err := b.findEntry(entryBuf[:0], contentID)
	if err != nil {
		return nil, err
	}

	if e == nil {
		return nil, nil
	}

	return b.entryToInfo(contentID, e)
}
// GetInfo returns information about a given content. If a content is not found, nil is returned.
GetInfo returns information about a given content. If a content is not found, nil is returned.
// GetInfo returns information about a given content . If a content is not found nil is returned .
func (b *indexV1) GetInfo(contentID ID) (Info, error) {
	var entryBuf [v1MaxEntrySize]byte
	e, err := b.findEntry(entryBuf[:0], contentID)
	if err != nil {
		return nil, err
	}
	if e == nil {
		return nil, nil
	}
	return b.entryToInfo(contentID, e)
}
func ( b * indexV1 ) GetInfo ( contentID ID ) ( Info , error ) { var entryBuf [ v1MaxEntrySize ] byte e , err := b . findEntry ( entryBuf [ : 0 ] , contentID ) if err != nil { return nil , err } if e == nil { return nil , nil } return b . entryToInfo ( contentID , e ) }
GetInfo returns information about a given content.
GetInfo returns information about a given content .