Documentation
¶
Index ¶
- func FindFiles(includes, excludes []string) (map[string]string, error)
- func ProcessFiles[T any](files map[string]string, processor FileProcessor[T]) (map[string]T, error)
- func ProcessFilesGlob[T any](includes, excludes []string, processor FileProcessor[T]) (map[string]T, error)
- func ReadForgeArtifact(path string) (*solc.ForgeArtifact, error)
- func WriteJSON(data interface{}, path string) error
- type ErrorReporter
- type FileProcessor
- type Void
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessFiles ¶
func ProcessFilesGlob ¶
func ProcessFilesGlob[T any](includes, excludes []string, processor FileProcessor[T]) (map[string]T, error)
func ReadForgeArtifact ¶
func ReadForgeArtifact(path string) (*solc.ForgeArtifact, error)
Types ¶
type ErrorReporter ¶
type ErrorReporter struct {
// contains filtered or unexported fields
}
func NewErrorReporter ¶
func NewErrorReporter() *ErrorReporter
func (*ErrorReporter) Fail ¶
func (e *ErrorReporter) Fail(msg string, args ...any)
func (*ErrorReporter) HasError ¶
func (e *ErrorReporter) HasError() bool
type FileProcessor ¶
Click to show internal directories.
Click to hide internal directories.