Skip to content

Conversation

@ptzianos
Copy link
Contributor

@ptzianos ptzianos commented Nov 3, 2025

No description provided.

// dependencies
type GoModAnalyser struct{}

// Analyse will analyse the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// Analyse will analyse the given go.mod file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixing

scanningDevDependencies = false
)

scanner := bufio.NewScanner(file)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happens if the Cargo.toml is big? not too sure how big cargo files for Rust get

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've never seen Cargo files being more than a few hundred lines, we would processing the entire dependency tree of the Linux kernel 10 years from now when it's purely Rust to have a file that maybe a few megabytes

@ptzianos ptzianos force-pushed the ptzianos/sca-utils branch 3 times, most recently from 7f5de52 to 83ad4d4 Compare November 14, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants