unpackdev / solgo

Solidity parser in Go, designed to transform Solidity code into a structured format for enhanced analysis, particularly beneficial for developers using Go to analyze Solidity smart contracts.
https://unpack.dev
Apache License 2.0
1 stars 0 forks source link

Ability to set global local sources path #186

Closed 0x19 closed 5 months ago

0x19 commented 5 months ago

Basically until now that was a bit problematic if you went with any of the providers such as from proto or from local source. This sorts this thing out and now there's SetLocalSourcesPath and GetLocalSourcesPath functionality applied. It will fall back to the solgo repo sources path if it's not set.