package
0.59.2
Repository: https://github.com/smithy-security/smithy.git
Documentation: pkg.go.dev

# Functions

ExtractCode takes a path and line (or line range) for a vulnerable code segment and returns the DefaultLineRange lines above and the DefaultLineRange lines below the vulnerability.
ExtractCodeFromFileTarget takes a filepath target and returns the code snippet.

# Constants

DefaultLineRange controls how many lines of code context will be returned by default.