Versions in this module Expand all Collapse all v0 v0.1.4 Jun 10, 2026 Changes in this version + func NewCheckFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewDPDKFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewESPIDFFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewFacilioFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewFreeRTOSFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewGLibFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewGTKFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewGlibcFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewH2OFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewJanssonFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewKoreFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewLibcurlFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewLibpngFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewLibuvFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewLinuxUAPIFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewMongooseFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewOpenSSLFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewSDL2Factory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewSQLiteFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewZephyrFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewZlibFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + type CSource struct + func New(repoPath string, cfg Config, opts ...Option) *CSource + func (s *CSource) DetectWrapper(method *source.Method) (bool, string, string) + func (s *CSource) DiscoverEntities(ctx context.Context, fetch source.FetchFunc) ([]string, error) + func (s *CSource) ID() string + func (s *CSource) Meta() source.LibraryMeta + func (s *CSource) ParseEntity(ctx context.Context, entityID string, content []byte) (*source.Entity, []string, error) + func (s *CSource) ParseMethod(ctx context.Context, methodID string, content []byte) (*source.Method, error) + func (s *CSource) ParseSourceCode(entityID string, content []byte) (string, error) + func (s *CSource) ResolveWrapperURL(targetName, targetKind, entitySlug string) string + type Config struct + Description string + ExcludePatterns []string + HeaderDirs []string + LibraryID string + Name string + SourceURL string + TrustScore float64 + Version string + type Option func(*CSource) + func WithRef(ref string) Option