fn resolve_new_dir(
path: String,
account_name: &mut Option<String>,
) -> Result<PathBuf>Expand description
Resolves the directory for cast wallet new.
A bare name that does not exist relative to the current directory is rewritten into
account_name and stored in the default keystore directory, matching
cast wallet import <name>. Path-like values and probe failures other than NotFound still
error.