Structs§
- SetOnce
- A wrapper type that ensures that the inner type is only set once
- WAPM_
FORCE_ YES_ TO_ PROMPTS - Global variable that determines the behavior of prompts
Enums§
Statics§
Functions§
- create_
package_ dir - create_
temp_ dir - fully_
qualified_ package_ display_ name - get_
hashed_ module_ key - get_
package_ namespace_ and_ name - get_
runtime_ with_ args - We put this in a new function, to be clear that runtime can be both
- get_
username - prompt_
user_ for_ yes - Asks the user to confirm something. Returns a boolean indicating if the user consented
or if the
WAPM_FORCE_YES_TO_PROMPTSvariable is set - set_
wapm_ should_ accept_ all_ prompts - validate_
license - Checks whether a given package name is acceptable or not
- validate_
name - Checks whether a given package name is acceptable or not
- validate_
runner - Checks whether a given command / runner name is acceptable or not
- wapm_
should_ accept_ all_ prompts - If true, prompts should not ask for user input
- wapm_
should_ print_ color - whoami_
distro