Expand description
Utility items shared between forc crates.
Modules
- Helpers for validating and checking names like package and organization names.
Macros
Structs
- A wrapper around
ForcResult
. Designed to be returned from entry points as it handles error reporting and exits with correct exit code. - A forc error type which is a wrapper around
anyhow::Error
. It enables propagation of custom exit code alongisde the original error. - Added salt used to derive the contract ID.
Constants
Functions
- Continually go down in the file tree until a specified file is found.
- Continually go down in the file tree until a Forc manifest file is found.
- Continually go up in the file tree until a specified file is found.
- Continually go up in the file tree until a Forc manifest file is found.
- Continually go up in the file tree until a Forc manifest file is found and given predicate returns true.
- Format
Log
andLogData
receipts. - The location at which
forc
will checkout git repositories. - Simple function to convert kebab-case to snake_case.
- Returns the user’s
.forc
directory,$HOME/.forc
by default.
Type Definitions
- A result type for forc operations. This shouldn’t be returned from entry points, instead return
ForcCliResult
to exit with correct exit code.