python

package
v3.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParsePipfile

func ParsePipfile(file *model.File) *model.DepGraph

func ParsePipfileLock

func ParsePipfileLock(file *model.File) *model.DepGraph

func ParsePythonWithEnv

func ParsePythonWithEnv(ctx context.Context, file *model.File) *model.DepGraph

ParsePythonWithEnv 借助pipenv解析python依赖

func ParseRequirementIn

func ParseRequirementIn(file *model.File) *model.DepGraph

func ParseRequirementTxt

func ParseRequirementTxt(file *model.File) *model.DepGraph

func ParseSetup

func ParseSetup(file *model.File) *model.DepGraph

ParseSetup 解析setup.py

func ParseSetupPyWithPython

func ParseSetupPyWithPython(file *model.File) *model.DepGraph

Types

type Sca

type Sca struct{}

func (Sca) Filter

func (sca Sca) Filter(relpath string) bool

func (Sca) Language

func (sca Sca) Language() model.Language

func (Sca) Sca

func (sca Sca) Sca(ctx context.Context, parent *model.File, files []*model.File, call model.ResCallback)

Jump to

Keyboard shortcuts

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