MCPcopy Create free account
hub / github.com/XmirrorSecurity/OpenSCA-cli / Relpath

Method Relpath

opensca/model/file.go:35–40  ·  view source on GitHub ↗

Relpath 文件相对路径

()

Source from the content-addressed store, hash-verified

33
34// Relpath 文件相对路径
35func (file *File) Relpath() string {
36 if file != nil {
37 return file.relpath
38 }
39 return ""
40}
41
42func (file *File) String() string {
43 return file.Relpath()

Callers 15

mainFunction · 0.95
mainFunction · 0.95
StringMethod · 0.95
walkFunction · 0.95
mainFunction · 0.80
RunTaskFunction · 0.80
ParsePythonWithEnvFunction · 0.80
ParseSetupFunction · 0.80
ParsePipfileFunction · 0.80
ParsePipfileLockFunction · 0.80
ParseRequirementTxtFunction · 0.80
ParseRequirementInFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected