language

package
v0.56.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 21

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 added in v0.39.0

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 added in v0.39.0

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 added in v0.39.0

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 added in v0.51.2

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