paths

package
v0.0.0-...-8328968 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressesFile

func AddressesFile(wd string) string

func ChainConfig

func ChainConfig(wd string, superchain config.Superchain, shortName string) string

func ChainListJsonFile

func ChainListJsonFile(wd string) string

func ChainListTomlFile

func ChainListTomlFile(wd string) string

func ChainMdFile

func ChainMdFile(wd string) string

func CollectFiles

func CollectFiles(root string, matcher CollectorMatcher) ([]string, error)

func EnsureDir

func EnsureDir(p string) error

func ExtraDir

func ExtraDir(wd string) string

func FindRepoRoot

func FindRepoRoot() (string, error)

func GenesisFile

func GenesisFile(wd string, superchain config.Superchain, shortName string) string

func ReadJSONFile

func ReadJSONFile(p string, out any) error

func ReadTOMLFile

func ReadTOMLFile(p string, out any) error

func ReadYAMLFile

func ReadYAMLFile(p string, out any) error

func RequireDir

func RequireDir(p string) error

func RequireRoot

func RequireRoot(wd string) error

func StagingDir

func StagingDir(wd string) string

func SuperchainConfig

func SuperchainConfig(wd string, superchain config.Superchain) string

func SuperchainConfigsDir

func SuperchainConfigsDir(wd string) string

func SuperchainDefinitionPath

func SuperchainDefinitionPath(wd string, superchain config.Superchain) string

func SuperchainDir

func SuperchainDir(wd string, name config.Superchain) string

func SuperchainIds

func SuperchainIds(wd string) (map[config.Superchain]uint64, error)

func Superchains

func Superchains(wd string) ([]string, error)

func ValidationsDir

func ValidationsDir(wd string) string

func ValidationsFile

func ValidationsFile(wd string, superchain string) string

func WriteTOMLFile

func WriteTOMLFile(p string, in any) error

Types

type CollectorMatcher

type CollectorMatcher func(string) bool

func ChainConfigMatcher

func ChainConfigMatcher() CollectorMatcher

func FileExtMatcher

func FileExtMatcher(ext string) CollectorMatcher

func FileNameMatcher

func FileNameMatcher(name string) CollectorMatcher

func SuperchainDefinitionMatcher

func SuperchainDefinitionMatcher() CollectorMatcher

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL