language

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyze

func Analyze(fileType types.LangType, filePath string, r xio.ReadSeekerAt, parser Parser) (*analyzer.AnalysisResult, error)

Analyze returns an analysis result of the lock file

func AnalyzePackage

func AnalyzePackage(fileType types.LangType, filePath string, r xio.ReadSeekerAt, parser Parser, checksum bool) (*analyzer.AnalysisResult, error)

AnalyzePackage returns an analysis result of the package file other than lock files

func Parse

func Parse(fileType types.LangType, filePath string, r io.Reader, parser Parser) (*types.Application, error)

Parse returns a parsed result of the lock file

func ParsePackage

func ParsePackage(fileType types.LangType, filePath string, r xio.ReadSeekerAt, parser Parser, checksum bool) (*types.Application, error)

ParsePackage returns a parsed result of the package file

Types

type Parser

type Parser interface {
	// Parse parses the dependency file
	Parse(r xio.ReadSeekerAt) ([]types.Package, []types.Dependency, error)
}

Directories

Path Synopsis
c
conda
dart
pub
dotnet
elixir
mix
golang
mod
java
jar
pom
sbt
julia
pkg
nodejs
npm
pkg
php
python
pip
ruby
rust

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL