SYMBOL INDEX (1680 symbols across 133 files) FILE: crates/archive/src/lib.rs type ArchiveError (line 18) | pub enum ArchiveError { type Origin (line 40) | pub enum Origin { type Archive (line 45) | pub trait Archive { method compressed_size (line 46) | fn compressed_size(&self) -> u64; method unpack (line 49) | fn unpack( method origin (line 55) | fn origin(&self) -> Origin; function content_length (line 100) | fn content_length(headers: &HeaderMap) -> Result { FILE: crates/archive/src/tarball.rs type Tarball (line 15) | pub struct Tarball { method load (line 23) | pub fn load(source: File) -> Result, ArchiveError> { method fetch (line 35) | pub fn fetch(url: &str, cache_file: &Path) -> Result,... method compressed_size (line 57) | fn compressed_size(&self) -> u64 { method unpack (line 60) | fn unpack( method origin (line 70) | fn origin(&self) -> Origin { function fixture_path (line 82) | fn fixture_path(fixture_dir: &str) -> PathBuf { function test_load (line 90) | fn test_load() { FILE: crates/archive/src/zip.rs type Zip (line 18) | pub struct Zip { method load (line 26) | pub fn load(source: File) -> Result, ArchiveError> { method fetch (line 38) | pub fn fetch(url: &str, cache_file: &Path) -> Result,... method compressed_size (line 60) | fn compressed_size(&self) -> u64 { method unpack (line 63) | fn unpack( method origin (line 74) | fn origin(&self) -> Origin { function fixture_path (line 86) | fn fixture_path(fixture_dir: &str) -> PathBuf { function test_load (line 94) | fn test_load() { FILE: crates/fs-utils/src/lib.rs function ensure_containing_dir_exists (line 8) | pub fn ensure_containing_dir_exists>(path: &P) -> io::Res... FILE: crates/progress-read/src/lib.rs type ProgressRead (line 7) | pub struct ProgressRead T> { method read (line 20) | fn read(&mut self, buf: &mut [u8]) -> io::Result { function new (line 34) | pub fn new(source: R, init: T, progress: F) -> ProgressRead { method seek (line 44) | fn seek(&mut self, pos: SeekFrom) -> io::Result { FILE: crates/test-support/src/matchers.rs type Execs (line 11) | pub struct Execs { method with_stdout (line 29) | pub fn with_stdout(mut self, expected: S) -> Execs { method with_stderr (line 36) | pub fn with_stderr(mut self, expected: S) -> Execs { method _with_stderr (line 41) | fn _with_stderr(&mut self, expected: &dyn ToString) { method with_status (line 46) | pub fn with_status(mut self, expected: i32) -> Execs { method with_stdout_contains (line 54) | pub fn with_stdout_contains(mut self, expected: S) -> Exe... method with_stderr_contains (line 62) | pub fn with_stderr_contains(mut self, expected: S) -> Exe... method with_either_contains (line 70) | pub fn with_either_contains(mut self, expected: S) -> Exe... method with_stdout_contains_n (line 78) | pub fn with_stdout_contains_n(mut self, expected: S, numb... method with_stdout_does_not_contain (line 87) | pub fn with_stdout_does_not_contain(mut self, expected: S... method with_stderr_does_not_contain (line 100) | pub fn with_stderr_does_not_contain(mut self, expected: S... method with_stderr_unordered (line 120) | pub fn with_stderr_unordered(mut self, expected: S) -> Ex... method with_json (line 140) | pub fn with_json(mut self, expected: &str) -> Execs { method match_output (line 150) | fn match_output(&self, actual: &Output) -> MatchResult { method match_status (line 156) | fn match_status(&self, actual: &Output) -> MatchResult { method match_stdout (line 169) | fn match_stdout(&self, actual: &Output) -> MatchResult { method match_stderr (line 297) | fn match_stderr(&self, actual: &Output) -> MatchResult { method match_std (line 307) | fn match_std( method match_json (line 454) | fn match_json(&self, expected: &Value, line: &str) -> MatchResult { method diff_lines (line 472) | fn diff_lines<'a>( method fmt (line 630) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 636) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method matches (line 642) | fn matches(&self, mut process: ProcessBuilder) -> MatchResult { method matches (line 648) | fn matches(&self, process: &'a mut ProcessBuilder) -> MatchResult { method matches (line 665) | fn matches(&self, output: Output) -> MatchResult { type MatchKind (line 502) | enum MatchKind { function lines_match (line 518) | pub fn lines_match(expected: &str, actual: &str) -> bool { function lines_match_works (line 538) | fn lines_match_works() { function find_mismatch (line 555) | fn find_mismatch<'a>(expected: &'a Value, actual: &'a Value) -> Option<(... type ZipAll (line 604) | struct ZipAll { type Item (line 610) | type Item = (Option, Option); method next (line 611) | fn next(&mut self) -> Option<(Option, Option)> { function zip_all (line 622) | fn zip_all, I2: Iterator>(a: I1, b: ... function execs (line 670) | pub fn execs() -> Execs { function substitute_macros (line 687) | fn substitute_macros(input: &str) -> String { FILE: crates/test-support/src/paths.rs function init (line 15) | fn init() { function global_root (line 32) | fn global_root() -> PathBuf { function root (line 49) | pub fn root() -> PathBuf { function home (line 54) | pub fn home() -> PathBuf { type Remove (line 58) | enum Remove { method to_str (line 63) | fn to_str(&self) -> &'static str { method at (line 70) | fn at(&self, path: &Path) { type PathExt (line 88) | pub trait PathExt { method rm (line 89) | fn rm(&self); method rm_rf (line 90) | fn rm_rf(&self); method rm_contents (line 91) | fn rm_contents(&self); method ensure_empty (line 92) | fn ensure_empty(&self); method mkdir_p (line 93) | fn mkdir_p(&self); method rm (line 98) | fn rm(&self) { method rm_rf (line 111) | fn rm_rf(&self) { method rm_contents (line 120) | fn rm_contents(&self) { method ensure_empty (line 132) | fn ensure_empty(&self) { method mkdir_p (line 138) | fn mkdir_p(&self) { FILE: crates/test-support/src/process.rs type ProcessBuilder (line 13) | pub struct ProcessBuilder { method fmt (line 25) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method program (line 38) | pub fn program>(&mut self, program: T) -> &mut Process... method arg (line 44) | pub fn arg>(&mut self, arg: T) -> &mut ProcessBuilder { method args (line 50) | pub fn args>(&mut self, arguments: &[T]) -> &mut Proce... method args_replace (line 57) | pub fn args_replace>(&mut self, arguments: &[T]) -> &m... method cwd (line 66) | pub fn cwd>(&mut self, path: T) -> &mut ProcessBuilder { method env (line 72) | pub fn env>(&mut self, key: &str, val: T) -> &mut Proc... method env_remove (line 79) | pub fn env_remove(&mut self, key: &str) -> &mut ProcessBuilder { method get_program (line 85) | pub fn get_program(&self) -> &OsString { method get_args (line 90) | pub fn get_args(&self) -> &[OsString] { method get_cwd (line 95) | pub fn get_cwd(&self) -> Option<&Path> { method get_env (line 101) | pub fn get_env(&self, var: &str) -> Option { method get_envs (line 111) | pub fn get_envs(&self) -> &HashMap> { method exec (line 116) | pub fn exec(&self) -> Result<(), ProcessError> { method exec_with_output (line 142) | pub fn exec_with_output(&self) -> Result { method build_command (line 168) | pub fn build_command(&self) -> Command { function process (line 191) | pub fn process>(cmd: T) -> ProcessBuilder { type ProcessError (line 202) | pub struct ProcessError { function process_error (line 208) | pub fn process_error( FILE: crates/validate-npm-package-name/src/lib.rs constant BLACKLIST (line 24) | const BLACKLIST: [&str; 2] = ["node_modules", "favicon.ico"]; constant BUILTINS (line 27) | const BUILTINS: [&str; 39] = [ type Validity (line 71) | pub enum Validity { method valid_for_old_packages (line 86) | pub fn valid_for_old_packages(&self) -> bool { method valid_for_new_packages (line 90) | pub fn valid_for_new_packages(&self) -> bool { function validate (line 95) | pub fn validate(name: &str) -> Validity { function done (line 176) | fn done(warnings: Vec, errors: Vec) -> Validity { function traditional (line 189) | fn traditional() { function scoped (line 206) | fn scoped() { function invalid (line 219) | fn invalid() { function node_io_core (line 300) | fn node_io_core() { function long_package_names (line 310) | fn long_package_names() { function legacy_mixed_case (line 325) | fn legacy_mixed_case() { FILE: crates/volta-core/src/error/kind.rs constant REPORT_BUG_CTA (line 10) | const REPORT_BUG_CTA: &str = constant PERMISSIONS_CTA (line 15) | const PERMISSIONS_CTA: &str = "Please ensure you have correct permission... type ErrorKind (line 19) | pub enum ErrorKind { method fmt (line 536) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method exit_code (line 1460) | pub fn exit_code(&self) -> ExitCode { FILE: crates/volta-core/src/error/mod.rs type Fallible (line 11) | pub type Fallible = Result; type VoltaError (line 15) | pub struct VoltaError { method exit_code (line 27) | pub fn exit_code(&self) -> ExitCode { method from_source (line 32) | pub fn from_source(source: E, kind: ErrorKind) -> Self method kind (line 45) | pub fn kind(&self) -> &ErrorKind { method fmt (line 51) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from (line 63) | fn from(kind: ErrorKind) -> Self { type Inner (line 20) | struct Inner { method source (line 57) | fn source(&self) -> Option<&(dyn Error + 'static)> { type Context (line 71) | pub trait Context { method with_context (line 72) | fn with_context(self, f: F) -> Fallible function with_context (line 81) | fn with_context(self, f: F) -> Fallible type ExitCode (line 91) | pub enum ExitCode { method exit (line 127) | pub fn exit(self) -> ! { FILE: crates/volta-core/src/error/reporter.rs function report_error (line 17) | pub fn report_error(volta_version: &str, err: &VoltaError) { function write_error_log (line 47) | fn write_error_log( function compose_error_details (line 70) | fn compose_error_details(err: &VoltaError) -> Option { function collect_arguments (line 94) | fn collect_arguments() -> String { FILE: crates/volta-core/src/event.rs type Event (line 15) | pub struct Event { type ErrorEnv (line 22) | pub struct ErrorEnv { type EventKind (line 32) | pub enum EventKind { method into_event (line 51) | pub fn into_event(self, activity_kind: ActivityKind) -> Event { function unix_timestamp (line 61) | fn unix_timestamp() -> u64 { function get_error_env (line 70) | fn get_error_env() -> ErrorEnv { type EventLog (line 94) | pub struct EventLog { method init (line 100) | pub fn init() -> Self { method add_event_start (line 104) | pub fn add_event_start(&mut self, activity_kind: ActivityKind) { method add_event_end (line 107) | pub fn add_event_end(&mut self, activity_kind: ActivityKind, exit_code... method add_event_tool_end (line 115) | pub fn add_event_tool_end(&mut self, activity_kind: ActivityKind, exit... method add_event_error (line 118) | pub fn add_event_error(&mut self, activity_kind: ActivityKind, error: ... method add_event_args (line 128) | pub fn add_event_args(&mut self) { method add_event (line 141) | fn add_event(&mut self, event_kind: EventKind, activity_kind: Activity... method publish (line 146) | pub fn publish(&self, plugin: Option<&Publish>) { function test_adding_events (line 167) | fn test_adding_events() { FILE: crates/volta-core/src/fs.rs function touch (line 16) | pub fn touch(path: &Path) -> io::Result { function remove_dir_if_exists (line 28) | pub fn remove_dir_if_exists>(path: P) -> Fallible<()> { function remove_file_if_exists (line 37) | pub fn remove_file_if_exists>(path: P) -> Fallible<()> { function ok_if_not_found (line 49) | pub fn ok_if_not_found(err: io::Error) -> io::Result { function read_file (line 57) | pub fn read_file>(path: P) -> io::Result> { function read_dir_eager (line 79) | pub fn read_dir_eager(dir: &Path) -> io::Result(dir: &Path, mut f: F) -> io::Result> function create_staging_file (line 106) | pub fn create_staging_file() -> Fallible { function create_staging_dir (line 114) | pub fn create_staging_dir() -> Fallible { function symlink_file (line 122) | pub fn symlink_file(src: S, dest: D) -> io::Result<()> function symlink_dir (line 135) | pub fn symlink_dir(src: S, dest: D) -> io::Result<()> function set_executable (line 149) | pub fn set_executable(bin: &Path) -> io::Result<()> { function set_executable (line 165) | pub fn set_executable(_bin: &Path) -> io::Result<()> { function rename (line 173) | pub fn rename(from: F, to: T) -> io::Result<()> FILE: crates/volta-core/src/hook/mod.rs type Publish (line 21) | pub enum Publish { type LazyHookConfig (line 30) | pub struct LazyHookConfig { method init (line 36) | pub fn init() -> LazyHookConfig { method get (line 43) | pub fn get(&self, project: Option<&Project>) -> Fallible<&HookConfig> { type HookConfig (line 50) | pub struct HookConfig { method node (line 114) | pub fn node(&self) -> Option<&ToolHooks> { method npm (line 118) | pub fn npm(&self) -> Option<&ToolHooks> { method pnpm (line 122) | pub fn pnpm(&self) -> Option<&ToolHooks> { method yarn (line 126) | pub fn yarn(&self) -> Option<&YarnHooks> { method events (line 130) | pub fn events(&self) -> Option<&EventHooks> { method current (line 136) | fn current(project: Option<&Project>) -> Fallible { method from_paths (line 160) | fn from_paths(paths: I) -> Fallible method from_file (line 198) | fn from_file(file_path: &Path) -> Fallible> { method merge (line 219) | fn merge(self, other: Self) -> Self { type ToolHooks (line 59) | pub struct ToolHooks { type YarnHooks (line 71) | pub struct YarnHooks { method merge (line 94) | fn merge(self, other: Self) -> Self { function merge (line 82) | fn merge(self, other: Self) -> Self { type RegistryFormat (line 232) | pub enum RegistryFormat { method from_str (line 238) | pub fn from_str(raw_format: &str) -> Fallible { type EventHooks (line 251) | pub struct EventHooks { method merge (line 258) | fn merge(self, other: Self) -> Self { function fixture_path (line 271) | fn fixture_path(fixture_dir: &str) -> PathBuf { function test_from_str_event_url (line 279) | fn test_from_str_event_url() { function test_from_str_bins (line 291) | fn test_from_str_bins() { function test_from_str_prefixes (line 374) | fn test_from_str_prefixes() { function test_from_str_templates (line 442) | fn test_from_str_templates() { function test_from_str_format_npm (line 511) | fn test_from_str_format_npm() { function test_from_str_format_github (line 549) | fn test_from_str_format_github() { function test_merge (line 587) | fn test_merge() { function test_from_paths (line 671) | fn test_from_paths() { FILE: crates/volta-core/src/hook/serial.rs type RawResolveHook (line 11) | pub struct RawResolveHook { method into_hook (line 32) | fn into_hook(self, to_prefix: P, to_template: T, to_bin: B... method into_distro_hook (line 63) | pub fn into_distro_hook(self, base_dir: &Path) -> Fallible Fallible Fallible Fallible { type RawHookConfig (line 128) | pub struct RawHookConfig { method into_hook_config (line 172) | pub fn into_hook_config(self, base_dir: &Path) -> Fallible Fallible { type RawToolHooks (line 154) | pub struct RawToolHooks { type RawYarnHooks (line 165) | pub struct RawYarnHooks { method into_yarn_hooks (line 213) | pub fn into_yarn_hooks(self, base_dir: &Path) -> Fallible Fallible Fallible Option<&str> { type MetadataHook (line 81) | pub enum MetadataHook { method resolve (line 89) | pub fn resolve(&self, filename: &str) -> Fallible { type YarnIndexHook (line 103) | pub struct YarnIndexHook { method resolve (line 110) | pub fn resolve(&self, filename: &str) -> Fallible { function execute_binary (line 123) | fn execute_binary(bin: &str, base_path: &Path, extra_arg: Option... function test_distro_prefix_resolve (line 186) | fn test_distro_prefix_resolve() { function test_distro_template_resolve (line 200) | fn test_distro_template_resolve() { function test_metadata_prefix_resolve (line 230) | fn test_metadata_prefix_resolve() { function test_metadata_template_resolve (line 242) | fn test_metadata_template_resolve() { function test_calculate_extension (line 258) | fn test_calculate_extension() { FILE: crates/volta-core/src/inventory.rs function node_available (line 18) | pub fn node_available(version: &Version) -> Fallible { function node_versions (line 27) | pub fn node_versions() -> Fallible> { function npm_available (line 32) | pub fn npm_available(version: &Version) -> Fallible { function npm_versions (line 37) | pub fn npm_versions() -> Fallible> { function pnpm_available (line 42) | pub fn pnpm_available(version: &Version) -> Fallible { function pnpm_versions (line 47) | pub fn pnpm_versions() -> Fallible> { function yarn_available (line 52) | pub fn yarn_available(version: &Version) -> Fallible { function yarn_versions (line 57) | pub fn yarn_versions() -> Fallible> { function package_configs (line 62) | pub fn package_configs() -> Fallible> { function read_versions (line 96) | fn read_versions(dir: &Path) -> Fallible> { FILE: crates/volta-core/src/layout/mod.rs function volta_home (line 23) | pub fn volta_home<'a>() -> Fallible<&'a VoltaHome> { function volta_install (line 34) | pub fn volta_install<'a>() -> Fallible<&'a VoltaInstall> { function default_install_dir (line 51) | fn default_install_dir() -> Fallible { FILE: crates/volta-core/src/layout/unix.rs function default_home_dir (line 6) | pub(super) fn default_home_dir() -> Fallible { function env_paths (line 12) | pub fn env_paths() -> Fallible> { FILE: crates/volta-core/src/layout/windows.rs function default_home_dir (line 6) | pub(super) fn default_home_dir() -> Fallible { function env_paths (line 12) | pub fn env_paths() -> Fallible> { FILE: crates/volta-core/src/lib.rs constant VOLTA_FEATURE_PNPM (line 24) | const VOLTA_FEATURE_PNPM: &str = "VOLTA_FEATURE_PNPM"; FILE: crates/volta-core/src/log.rs constant ERROR_PREFIX (line 11) | const ERROR_PREFIX: &str = "error:"; constant WARNING_PREFIX (line 12) | const WARNING_PREFIX: &str = "warning:"; constant SHIM_ERROR_PREFIX (line 13) | const SHIM_ERROR_PREFIX: &str = "Volta error:"; constant SHIM_WARNING_PREFIX (line 14) | const SHIM_WARNING_PREFIX: &str = "Volta warning:"; constant MIGRATION_ERROR_PREFIX (line 15) | const MIGRATION_ERROR_PREFIX: &str = "Volta update error:"; constant MIGRATION_WARNING_PREFIX (line 16) | const MIGRATION_WARNING_PREFIX: &str = "Volta update warning:"; constant VOLTA_LOGLEVEL (line 17) | const VOLTA_LOGLEVEL: &str = "VOLTA_LOGLEVEL"; constant ALLOWED_PREFIXES (line 18) | const ALLOWED_PREFIXES: [&str; 5] = [ constant WRAP_INDENT (line 25) | const WRAP_INDENT: &str = " "; type LogContext (line 28) | pub enum LogContext { type LogVerbosity (line 41) | pub enum LogVerbosity { type Logger (line 48) | pub struct Logger { method init (line 85) | pub fn init(context: LogContext, verbosity: LogVerbosity) -> Result<()... method new (line 92) | fn new(context: LogContext, verbosity: LogVerbosity) -> Self { method log_error (line 103) | fn log_error(&self, message: &D) method log_warning (line 116) | fn log_warning(&self, message: &D) method enabled (line 54) | fn enabled(&self, metadata: &Metadata) -> bool { method log (line 58) | fn log(&self, record: &Record) { method flush (line 78) | fn flush(&self) {} function wrap_content (line 139) | fn wrap_content(prefix: &str, content: &D) -> String function level_from_env (line 161) | fn level_from_env() -> LevelFilter { FILE: crates/volta-core/src/monitor.rs function send_events (line 14) | pub fn send_events(command: &str, events: &[Event]) { function write_events_file (line 34) | fn write_events_file(events_json: String) -> Option { function spawn_process (line 64) | fn spawn_process(command: &str, tempfile_path: Option) -> Optio... FILE: crates/volta-core/src/platform/image.rs type Image (line 11) | pub struct Image { method bins (line 23) | fn bins(&self) -> Fallible> { method path (line 51) | pub fn path(&self) -> Fallible { method resolve_npm (line 62) | pub fn resolve_npm(&self) -> Fallible> { FILE: crates/volta-core/src/platform/mod.rs type Source (line 23) | pub enum Source { method fmt (line 38) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Sourced (line 48) | pub struct Sourced { function with_default (line 54) | pub fn with_default(value: T) -> Self { function with_project (line 61) | pub fn with_project(value: T) -> Self { function with_binary (line 68) | pub fn with_binary(value: T) -> Self { function with_command_line (line 75) | pub fn with_command_line(value: T) -> Self { function as_ref (line 84) | pub fn as_ref(&self) -> Sourced<&T> { function cloned (line 96) | pub fn cloned(self) -> Sourced { method clone (line 108) | fn clone(&self) -> Sourced { type InheritOption (line 119) | pub enum InheritOption { function map (line 128) | pub fn map(self, f: F) -> InheritOption function inherit (line 140) | pub fn inherit(self, other: Option) -> Option { function from (line 150) | fn from(base: InheritOption) -> Option { type PlatformSpec (line 158) | pub struct PlatformSpec { method as_default (line 167) | pub fn as_default(&self) -> Platform { method as_project (line 177) | pub fn as_project(&self) -> Platform { method as_binary (line 187) | pub fn as_binary(&self) -> Platform { type CliPlatform (line 199) | pub struct CliPlatform { method merge (line 208) | pub fn merge(self, base: Platform) -> Platform { function from (line 220) | fn from(base: CliPlatform) -> Option { type Platform (line 235) | pub struct Platform { method current (line 252) | pub fn current(session: &mut Session) -> Fallible> { method checkout (line 277) | pub fn checkout(self, session: &mut Session) -> Fallible { function build_path_error (line 306) | fn build_path_error() -> ErrorKind { FILE: crates/volta-core/src/platform/system.rs type System (line 9) | pub struct System; method path (line 15) | pub fn path() -> Fallible { FILE: crates/volta-core/src/platform/tests.rs function test_paths (line 12) | fn test_paths() { function build_test_path (line 18) | fn build_test_path() -> String { function build_test_path (line 26) | fn build_test_path() -> String { function test_image_path (line 39) | fn test_image_path() { function test_system_path (line 149) | fn test_system_path() { function converts_some_value (line 169) | fn converts_some_value() { function leaves_none (line 176) | fn leaves_none() { function leaves_inherit (line 183) | fn leaves_inherit() { function keeps_some_value (line 194) | fn keeps_some_value() { function leaves_none (line 201) | fn leaves_none() { function inherits_from_base (line 208) | fn inherits_from_base() { constant NODE_VERSION (line 219) | const NODE_VERSION: Version = Version { constant NPM_VERSION (line 226) | const NPM_VERSION: Version = Version { constant YARN_VERSION (line 233) | const YARN_VERSION: Version = Version { function uses_node (line 246) | fn uses_node() { function inherits_node (line 268) | fn inherits_node() { function uses_npm (line 290) | fn uses_npm() { function inherits_npm (line 313) | fn inherits_npm() { function none_does_not_inherit_npm (line 336) | fn none_does_not_inherit_npm() { function uses_yarn (line 357) | fn uses_yarn() { function inherits_yarn (line 380) | fn inherits_yarn() { function none_does_not_inherit_yarn (line 403) | fn none_does_not_inherit_yarn() { function none_if_no_node (line 429) | fn none_if_no_node() { function uses_cli_node (line 443) | fn uses_cli_node() { function uses_cli_npm (line 459) | fn uses_cli_npm() { function no_npm (line 475) | fn no_npm() { function inherit_npm_becomes_none (line 489) | fn inherit_npm_becomes_none() { function uses_cli_yarn (line 503) | fn uses_cli_yarn() { function no_yarn (line 519) | fn no_yarn() { function inherit_yarn_becomes_none (line 533) | fn inherit_yarn_becomes_none() { FILE: crates/volta-core/src/project/mod.rs type LazyProject (line 26) | pub struct LazyProject { method init (line 31) | pub fn init() -> Self { method get (line 37) | pub fn get(&self) -> Fallible> { method get_mut (line 42) | pub fn get_mut(&mut self) -> Fallible> { type Project (line 50) | pub struct Project { method for_current_dir (line 59) | fn for_current_dir() -> Fallible> { method for_dir (line 67) | fn for_dir(base_dir: PathBuf) -> Fallible> { method from_file (line 78) | fn from_file(manifest_file: PathBuf) -> Fallible { method manifest_file (line 123) | pub fn manifest_file(&self) -> &Path { method workspace_roots (line 128) | pub fn workspace_roots(&self) -> impl Iterator { method platform (line 136) | pub fn platform(&self) -> Option<&PlatformSpec> { method has_direct_dependency (line 141) | pub fn has_direct_dependency(&self, dependency: &str) -> bool { method has_direct_bin (line 146) | pub fn has_direct_bin(&self, bin_name: &OsStr) -> Fallible { method find_bin (line 159) | pub fn find_bin>(&self, bin_name: P) -> Option { method needs_yarn_run (line 175) | pub fn needs_yarn_run(&self) -> bool { method pin_node (line 186) | pub fn pin_node(&mut self, version: Version) -> Fallible<()> { method pin_npm (line 204) | pub fn pin_npm(&mut self, version: Option) -> Fallible<()> { method pin_pnpm (line 217) | pub fn pin_pnpm(&mut self, version: Option) -> Fallible<()> { method pin_yarn (line 233) | pub fn pin_yarn(&mut self, version: Option) -> Fallible<()> { function is_node_root (line 249) | fn is_node_root(dir: &Path) -> bool { function is_node_modules (line 253) | fn is_node_modules(dir: &Path) -> bool { function is_dependency (line 257) | fn is_dependency(dir: &Path) -> bool { function is_project_root (line 261) | fn is_project_root(dir: &Path) -> bool { function find_closest_root (line 266) | pub(crate) fn find_closest_root(mut dir: PathBuf) -> Option { type PartialPlatform (line 276) | struct PartialPlatform { method merge (line 284) | fn merge(self, other: PartialPlatform) -> PartialPlatform { type Error (line 295) | type Error = VoltaError; method try_from (line 297) | fn try_from(partial: PartialPlatform) -> Fallible { FILE: crates/volta-core/src/project/serial.rs type DependencyMapIterator (line 15) | pub type DependencyMapIterator = std::iter::Chain< type Manifest (line 20) | pub(super) struct Manifest { method from_file (line 27) | pub fn from_file(file: &Path) -> Fallible { type ManifestKey (line 60) | pub(super) enum ManifestKey { method fmt (line 68) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function update_manifest (line 83) | pub(super) fn update_manifest( type RawManifest (line 142) | struct RawManifest { method from_file (line 152) | fn from_file(package: &Path) -> Fallible { type ToolchainSpec (line 164) | struct ToolchainSpec { method parse_split (line 179) | fn parse_split(self) -> Fallible<(PartialPlatform, Option)> { FILE: crates/volta-core/src/project/tests.rs function fixture_path (line 5) | fn fixture_path(fixture_dirs: &[&str]) -> PathBuf { function test_find_closest_root_direct (line 20) | fn test_find_closest_root_direct() { function test_find_closest_root_ancestor (line 29) | fn test_find_closest_root_ancestor() { function test_find_closest_root_dependency (line 37) | fn test_find_closest_root_dependency() { function manifest_file (line 49) | fn manifest_file() { function workspace_roots (line 58) | fn workspace_roots() { function platform_simple (line 73) | fn platform_simple() { function platform_workspace (line 84) | fn platform_workspace() { function direct_dependencies_single (line 98) | fn direct_dependencies_single() { function direct_dependencies_workspace (line 113) | fn direct_dependencies_workspace() { function find_bin_single (line 132) | fn find_bin_single() { function find_bin_workspace (line 145) | fn find_bin_workspace() { function detects_workspace_cycles (line 185) | fn detects_workspace_cycles() { function project_does_not_need_yarn_run (line 225) | fn project_does_not_need_yarn_run() { function project_has_yarnrc_yml (line 232) | fn project_has_yarnrc_yml() { function project_has_pnp_js (line 239) | fn project_has_pnp_js() { function project_has_pnp_cjs (line 246) | fn project_has_pnp_cjs() { FILE: crates/volta-core/src/run/binary.rs function command (line 17) | pub(super) fn command(exe: &OsStr, args: &[OsString], session: &mut Sess... function local_execution_context (line 88) | pub(super) fn local_execution_context( function default_execution_context (line 114) | pub(super) fn default_execution_context( type DefaultBinary (line 140) | pub struct DefaultBinary { method from_config (line 146) | pub fn from_config(bin_config: BinConfig, session: &mut Session) -> Fa... method from_name (line 173) | pub fn from_name(tool_name: &OsStr, session: &mut Session) -> Fallible... function shared_module_path (line 189) | fn shared_module_path() -> Fallible { FILE: crates/volta-core/src/run/executor.rs type Executor (line 22) | pub enum Executor { method envs (line 33) | pub fn envs(&mut self, envs: &HashMap) method cli_platform (line 55) | pub fn cli_platform(&mut self, cli: CliPlatform) { method execute (line 73) | pub fn execute(self, session: &mut Session) -> Fallible { method from (line 102) | fn from(mut executors: Vec) -> Self { method from (line 203) | fn from(cmd: ToolCommand) -> Self { method from (line 300) | fn from(cmd: PackageInstallCommand) -> Self { method from (line 403) | fn from(cmd: PackageLinkCommand) -> Self { method from (line 493) | fn from(cmd: PackageUpgradeCommand) -> Self { method from (line 527) | fn from(cmd: InternalInstallCommand) -> Self { method from (line 560) | fn from(cmd: UninstallCommand) -> Self { type ToolCommand (line 115) | pub struct ToolCommand { method new (line 134) | pub fn new(exe: E, args: A, platform: Option, kind:... method envs (line 151) | pub fn envs(&mut self, envs: E) method env (line 161) | pub fn env(&mut self, key: K, value: V) method cli_platform (line 170) | pub fn cli_platform(&mut self, cli: CliPlatform) { method execute (line 178) | pub fn execute(mut self, session: &mut Session) -> Fallible { type ToolKind (line 122) | pub enum ToolKind { type PackageInstallCommand (line 212) | pub struct PackageInstallCommand { method new (line 222) | pub fn new(args: A, platform: Platform, manager: PackageManager)... method for_npm_link (line 243) | pub fn for_npm_link(args: A, platform: Platform, name: String) -... method envs (line 261) | pub fn envs(&mut self, envs: E) method cli_platform (line 271) | pub fn cli_platform(&mut self, cli: CliPlatform) { method execute (line 277) | pub fn execute(mut self, session: &mut Session) -> Fallible { type PackageLinkCommand (line 309) | pub struct PackageLinkCommand { method new (line 319) | pub fn new(args: A, platform: Platform, tool: String) -> Self method envs (line 335) | pub fn envs(&mut self, envs: E) method cli_platform (line 345) | pub fn cli_platform(&mut self, cli: CliPlatform) { method execute (line 353) | pub fn execute(mut self, session: &mut Session) -> Fallible { method check_linked_package (line 373) | fn check_linked_package(&self, session: &mut Session) -> Fallible<()> { type PackageUpgradeCommand (line 412) | pub struct PackageUpgradeCommand { method new (line 422) | pub fn new( method envs (line 449) | pub fn envs(&mut self, envs: E) method cli_platform (line 459) | pub fn cli_platform(&mut self, cli: CliPlatform) { method execute (line 468) | pub fn execute(mut self, session: &mut Session) -> Fallible { type InternalInstallCommand (line 503) | pub struct InternalInstallCommand { method new (line 508) | pub fn new(tool: Spec) -> Self { method execute (line 513) | fn execute(self, session: &mut Session) -> Fallible { type UninstallCommand (line 536) | pub struct UninstallCommand { method new (line 541) | pub fn new(tool: Spec) -> Self { method execute (line 546) | fn execute(self) -> Fallible { FILE: crates/volta-core/src/run/mod.rs constant RECURSION_ENV_VAR (line 34) | const RECURSION_ENV_VAR: &str = "_VOLTA_TOOL_RECURSION"; constant VOLTA_BYPASS (line 35) | const VOLTA_BYPASS: &str = "VOLTA_BYPASS"; function execute_shim (line 38) | pub fn execute_shim(session: &mut Session) -> Fallible { function execute_tool (line 47) | pub fn execute_tool( function get_executor (line 70) | fn get_executor( function get_tool_name (line 106) | fn get_tool_name(args: &mut ArgsOs) -> Fallible { function tool_name_from_file_name (line 113) | fn tool_name_from_file_name(file_name: &OsStr) -> OsString { function tool_name_from_file_name (line 118) | fn tool_name_from_file_name(file_name: &OsStr) -> OsString { function debug_no_platform (line 130) | fn debug_no_platform() { function debug_active_image (line 136) | fn debug_active_image(image: &Image) { function format_tool_version (line 163) | fn format_tool_version(version: &Sourced) -> String { FILE: crates/volta-core/src/run/node.rs function command (line 11) | pub(super) fn command(args: &[OsString], session: &mut Session) -> Falli... function execution_context (line 23) | pub(super) fn execution_context( FILE: crates/volta-core/src/run/npm.rs function command (line 22) | pub(super) fn command(args: &[OsString], session: &mut Session) -> Falli... function execution_context (line 66) | pub(super) fn execution_context( function current_project_name (line 87) | fn current_project_name(session: &mut Session) -> Option { FILE: crates/volta-core/src/run/npx.rs function command (line 21) | pub(super) fn command(args: &[OsString], session: &mut Session) -> Falli... function execution_context (line 33) | pub(super) fn execution_context( FILE: crates/volta-core/src/run/parser.rs constant UNSAFE_GLOBAL (line 16) | const UNSAFE_GLOBAL: &str = "VOLTA_UNSAFE_GLOBAL"; constant NPM_INSTALL_ALIASES (line 18) | const NPM_INSTALL_ALIASES: [&str; 12] = [ constant NPM_UNINSTALL_ALIASES (line 23) | const NPM_UNINSTALL_ALIASES: [&str; 5] = ["un", "uninstall", "remove", "... constant NPM_LINK_ALIASES (line 25) | const NPM_LINK_ALIASES: [&str; 2] = ["link", "ln"]; constant NPM_UPDATE_ALIASES (line 27) | const NPM_UPDATE_ALIASES: [&str; 4] = ["update", "udpate", "upgrade", "u... constant PNPM_UNINSTALL_ALIASES (line 30) | const PNPM_UNINSTALL_ALIASES: [&str; 4] = ["remove", "uninstall", "rm", ... constant PNPM_UPDATE_ALIASES (line 33) | const PNPM_UPDATE_ALIASES: [&str; 3] = ["update", "upgrade", "up"]; constant PNPM_LINK_ALIASES (line 36) | const PNPM_LINK_ALIASES: [&str; 2] = ["link", "ln"]; type CommandArg (line 38) | pub enum CommandArg<'a> { function for_npm (line 46) | pub fn for_npm(args: &'a [S]) -> Self function for_pnpm (line 140) | pub fn for_pnpm(args: &'a [S]) -> CommandArg<'a> function for_yarn (line 213) | pub fn for_yarn(args: &'a [S]) -> Self type GlobalCommand (line 271) | pub enum GlobalCommand<'a> { function executor (line 278) | pub fn executor(self, platform: &PlatformSpec) -> Fallible { type InstallArgs (line 288) | pub struct InstallArgs<'a> { function executor (line 303) | pub fn executor(self, platform_spec: &PlatformSpec) -> Fallible { type UninstallArgs (line 328) | pub struct UninstallArgs<'a> { function executor (line 336) | pub fn executor(self) -> Fallible { type UpgradeArgs (line 349) | pub struct UpgradeArgs<'a> { function executor (line 364) | pub fn executor(self, platform_spec: &PlatformSpec) -> Fallible { function executor_all_packages (line 398) | fn executor_all_packages(self, platform_spec: &PlatformSpec) -> Fallible... type InterceptedCommand (line 418) | pub enum InterceptedCommand<'a> { type LinkArgs (line 424) | pub struct LinkArgs<'a> { function executor (line 432) | pub fn executor(self, platform: Platform, project_name: Option) ... function has_global_without_prefix (line 472) | fn has_global_without_prefix(args: &[A]) -> bool function is_flag (line 491) | fn is_flag(arg: &A) -> bool function is_positional (line 501) | fn is_positional(arg: &A) -> bool function arg_list (line 512) | fn arg_list(args: A) -> Vec function handles_global_install (line 525) | fn handles_global_install() { function handles_local_install (line 537) | fn handles_local_install() { function handles_global_uninstall (line 545) | fn handles_global_uninstall() { function handles_local_uninstall (line 555) | fn handles_local_uninstall() { function handles_multiple_install (line 563) | fn handles_multiple_install() { function handles_multiple_uninstall (line 584) | fn handles_multiple_uninstall() { function handles_bare_link (line 600) | fn handles_bare_link() { function handles_multiple_link (line 608) | fn handles_multiple_link() { function handles_bare_unlink (line 618) | fn handles_bare_unlink() { function handles_local_unlink (line 626) | fn handles_local_unlink() { function handles_global_aliases (line 634) | fn handles_global_aliases() { function handles_install_aliases (line 647) | fn handles_install_aliases() { function handles_uninstall_aliases (line 710) | fn handles_uninstall_aliases() { function handles_link_aliases (line 743) | fn handles_link_aliases() { function processes_flags (line 756) | fn processes_flags() { function skips_commands_with_prefix (line 791) | fn skips_commands_with_prefix() { function handles_global_add (line 839) | fn handles_global_add() { function handles_local_add (line 851) | fn handles_local_add() { function handles_global_remove (line 864) | fn handles_global_remove() { function handles_local_remove (line 874) | fn handles_local_remove() { function handles_multiple_add (line 887) | fn handles_multiple_add() { function handles_multiple_remove (line 905) | fn handles_multiple_remove() { function processes_flags (line 921) | fn processes_flags() { FILE: crates/volta-core/src/run/pnpm.rs function command (line 10) | pub(super) fn command(args: &[OsString], session: &mut Session) -> Falli... function execution_context (line 35) | pub(super) fn execution_context( function validate_platform_pnpm (line 57) | fn validate_platform_pnpm(platform: &Platform) -> Fallible<()> { FILE: crates/volta-core/src/run/yarn.rs function command (line 19) | pub(super) fn command(args: &[OsString], session: &mut Session) -> Falli... function execution_context (line 40) | pub(super) fn execution_context( function validate_platform_yarn (line 62) | fn validate_platform_yarn(platform: &Platform) -> Fallible<()> { FILE: crates/volta-core/src/session.rs type ActivityKind (line 17) | pub enum ActivityKind { method fmt (line 44) | fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), fmt::Error> { type Session (line 82) | pub struct Session { method init (line 91) | pub fn init() -> Session { method project (line 101) | pub fn project(&self) -> Fallible> { method project_mut (line 106) | pub fn project_mut(&mut self) -> Fallible> { method default_platform (line 111) | pub fn default_platform(&self) -> Fallible> { method project_platform (line 116) | pub fn project_platform(&self) -> Fallible> { method toolchain (line 124) | pub fn toolchain(&self) -> Fallible<&Toolchain> { method toolchain_mut (line 129) | pub fn toolchain_mut(&mut self) -> Fallible<&mut Toolchain> { method hooks (line 134) | pub fn hooks(&self) -> Fallible<&HookConfig> { method add_event_start (line 138) | pub fn add_event_start(&mut self, activity_kind: ActivityKind) { method add_event_end (line 141) | pub fn add_event_end(&mut self, activity_kind: ActivityKind, exit_code... method add_event_tool_end (line 144) | pub fn add_event_tool_end(&mut self, activity_kind: ActivityKind, exit... method add_event_error (line 147) | pub fn add_event_error(&mut self, activity_kind: ActivityKind, error: ... method publish_to_event_log (line 151) | fn publish_to_event_log(self) { method exit (line 173) | pub fn exit(self, code: ExitCode) -> ! { method exit_tool (line 178) | pub fn exit_tool(self, code: i32) -> ! { function fixture_path (line 191) | fn fixture_path(fixture_dir: &str) -> PathBuf { function test_in_pinned_project (line 199) | fn test_in_pinned_project() { FILE: crates/volta-core/src/shim.rs function regenerate_shims_for_dir (line 16) | pub fn regenerate_shims_for_dir(dir: &Path) -> Fallible<()> { function get_shim_list_deduped (line 28) | fn get_shim_list_deduped(dir: &Path) -> Fallible> { type ShimResult (line 54) | pub enum ShimResult { function delete (line 61) | pub fn delete(shim_name: &str) -> Fallible { function create (line 100) | pub fn create(shim_name: &str) -> Fallible { function entry_to_shim_name (line 121) | pub fn entry_to_shim_name((entry, metadata): (DirEntry, Metadata)) -> Op... constant SHIM_SCRIPT_CONTENTS (line 154) | const SHIM_SCRIPT_CONTENTS: &str = r#"@echo off constant GIT_BASH_SCRIPT_CONTENTS (line 158) | const GIT_BASH_SCRIPT_CONTENTS: &str = r#"#!/bin/bash function create (line 161) | pub fn create(shim_name: &str) -> Fallible { function entry_to_shim_name (line 179) | pub fn entry_to_shim_name((entry, _): (DirEntry, Metadata)) -> Option Fallible<()> { FILE: crates/volta-core/src/signal.rs constant INTERRUPTED_EXIT_CODE (line 7) | const INTERRUPTED_EXIT_CODE: i32 = 130; function pass_control_to_shim (line 9) | pub fn pass_control_to_shim() { function setup_signal_handler (line 13) | pub fn setup_signal_handler() { FILE: crates/volta-core/src/style.rs constant MAX_WIDTH (line 12) | pub const MAX_WIDTH: usize = 100; constant MAX_PROGRESS_WIDTH (line 13) | const MAX_PROGRESS_WIDTH: usize = 40; function success_prefix (line 16) | pub fn success_prefix() -> StyledObject<&'static str> { function note_prefix (line 21) | pub fn note_prefix() -> StyledObject<&'static str> { function format_error_cause (line 26) | pub(crate) fn format_error_cause(inner: &dyn Error) -> String { function action_str (line 36) | fn action_str(origin: Origin) -> &'static str { function tool_version (line 43) | pub fn tool_version(name: N, version: V) -> String function text_width (line 52) | pub fn text_width() -> Option { function progress_bar (line 60) | pub fn progress_bar(origin: Origin, details: &str, len: u64) -> Progress... FILE: crates/volta-core/src/sync.rs type LockState (line 44) | struct LockState { constant LOCK_FILE (line 49) | const LOCK_FILE: &str = "volta.lock"; type VoltaLock (line 56) | pub struct VoltaLock { method acquire (line 62) | pub fn acquire() -> Fallible { method drop (line 106) | fn drop(&mut self) { FILE: crates/volta-core/src/tool/mod.rs function debug_already_fetched (line 32) | fn debug_already_fetched(tool: T) { function info_installed (line 36) | fn info_installed(tool: T) { function info_fetched (line 40) | fn info_fetched(tool: T) { function info_pinned (line 44) | fn info_pinned(tool: T) { function info_project_version (line 48) | fn info_project_version(project_version: P, default_version: D) type Tool (line 61) | pub trait Tool: Display { method fetch (line 63) | fn fetch(self: Box, session: &mut Session) -> Fallible<()>; method install (line 65) | fn install(self: Box, session: &mut Session) -> Fallible<()>; method pin (line 67) | fn pin(self: Box, session: &mut Session) -> Fallible<()>; type Spec (line 73) | pub enum Spec { method resolve (line 83) | pub fn resolve(self, session: &mut Session) -> Fallible> { method uninstall (line 122) | pub fn uninstall(self) -> Fallible<()> { method name (line 151) | pub fn name(&self) -> &str { method fmt (line 163) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type FetchStatus (line 178) | enum FetchStatus { function check_fetched (line 191) | fn check_fetched(already_fetched: F) -> Fallible function download_tool_error (line 214) | fn download_tool_error(tool: Spec, from_url: impl AsRef) -> impl Fn... function registry_fetch_error (line 219) | fn registry_fetch_error( function check_shim_reachable (line 238) | pub fn check_shim_reachable(shim_name: &str) { function find_expected_shim_dir (line 270) | fn find_expected_shim_dir(_shim_name: &str) -> Option { function find_expected_shim_dir (line 282) | fn find_expected_shim_dir(shim_name: &str) -> Option { FILE: crates/volta-core/src/tool/node/fetch.rs function npm_manifest_path (line 37) | fn npm_manifest_path(version: &Version) -> PathBuf { function fetch (line 50) | pub fn fetch(version: &Version, hooks: Option<&ToolHooks>) -> Fall... function unpack_archive (line 91) | fn unpack_archive(archive: Box, version: &Version) -> Falli... function load_cached_distro (line 143) | fn load_cached_distro(file: &Path) -> Option> { function determine_remote_url (line 153) | fn determine_remote_url(version: &Version, hooks: Option<&ToolHooks Fallible { function load_default_npm_version (line 202) | pub fn load_default_npm_version(node: &Version) -> Fallible { function save_default_npm_version (line 212) | fn save_default_npm_version(node: &Version, npm: &Version) -> Fallible<(... FILE: crates/volta-core/src/tool/node/metadata.rs type NodeIndex (line 14) | pub struct NodeIndex { method from (line 40) | fn from(raw: RawNodeIndex) -> NodeIndex { type NodeEntry (line 19) | pub struct NodeEntry { type RawNodeIndex (line 25) | pub struct RawNodeIndex(Vec); type RawNodeEntry (line 28) | pub struct RawNodeEntry { function lts_version_serde (line 81) | fn lts_version_serde<'de, D>(deserializer: D) -> Result FILE: crates/volta-core/src/tool/node/mod.rs type NodeVersion (line 121) | pub struct NodeVersion { method fmt (line 129) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Node (line 140) | pub struct Node { method new (line 145) | pub fn new(version: Version) -> Self { method archive_basename (line 153) | pub fn archive_basename(version: &Version) -> String { method archive_basename (line 158) | pub fn archive_basename(version: &Version) -> String { method archive_basename (line 174) | pub fn archive_basename(version: &Version) -> String { method archive_filename (line 189) | pub fn archive_filename(version: &Version) -> String { method ensure_fetched (line 197) | pub(crate) fn ensure_fetched(&self, session: &mut Session) -> Fallible... method fetch (line 214) | fn fetch(self: Box, session: &mut Session) -> Fallible<()> { method install (line 220) | fn install(self: Box, session: &mut Session) -> Fallible<()> { method pin (line 254) | fn pin(self: Box, session: &mut Session) -> Fallible<()> { method fmt (line 288) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function test_node_archive_basename (line 298) | fn test_node_archive_basename() { function test_node_archive_filename (line 306) | fn test_node_archive_filename() { function test_fallback_node_archive_basename (line 318) | fn test_fallback_node_archive_basename() { function test_fallback_node_archive_basename (line 330) | fn test_fallback_node_archive_basename() { function test_fallback_node_archive_filename (line 342) | fn test_fallback_node_archive_filename() { function test_fallback_node_archive_filename (line 354) | fn test_fallback_node_archive_filename() { FILE: crates/volta-core/src/tool/node/resolve.rs function resolve (line 44) | pub fn resolve(matching: VersionSpec, session: &mut Session) -> Fallible... function resolve_latest (line 58) | fn resolve_latest(hooks: Option<&ToolHooks>) -> Fallible { function resolve_lts (line 86) | fn resolve_lts(hooks: Option<&ToolHooks>) -> Fallible { function resolve_semver (line 111) | fn resolve_semver(matching: Range, hooks: Option<&ToolHooks>) -> F... function match_node_version (line 141) | fn match_node_version( function read_cached_opt (line 153) | fn read_cached_opt(url: &str) -> Fallible> { function max_age (line 184) | fn max_age(headers: &HeaderMap) -> Duration { function resolve_node_versions (line 192) | fn resolve_node_versions(url: &str) -> Fallible { FILE: crates/volta-core/src/tool/npm/fetch.rs function fetch (line 20) | pub fn fetch(version: &Version, hooks: Option<&ToolHooks>) -> Falli... function unpack_archive (line 58) | fn unpack_archive(archive: Box, version: &Version) -> Falli... function load_cached_distro (line 109) | fn load_cached_distro(file: &Path) -> Option> { function determine_remote_url (line 119) | fn determine_remote_url(version: &Version, hooks: Option<&ToolHooks... function fetch_remote_distro (line 135) | fn fetch_remote_distro( function overwrite_launcher (line 148) | fn overwrite_launcher(base_path: &Path, tool: &str) -> Fallible<()> { function overwrite_cmd_launcher (line 174) | fn overwrite_cmd_launcher(base_path: &Path, tool: &str) -> Fallible<()> { FILE: crates/volta-core/src/tool/npm/mod.rs type Npm (line 22) | pub struct Npm { method new (line 27) | pub fn new(version: Version) -> Self { method archive_basename (line 31) | pub fn archive_basename(version: &str) -> String { method archive_filename (line 35) | pub fn archive_filename(version: &str) -> String { method ensure_fetched (line 39) | pub(crate) fn ensure_fetched(&self, session: &mut Session) -> Fallible... method fetch (line 51) | fn fetch(self: Box, session: &mut Session) -> Fallible<()> { method install (line 57) | fn install(self: Box, session: &mut Session) -> Fallible<()> { method pin (line 76) | fn pin(self: Box, session: &mut Session) -> Fallible<()> { method fmt (line 93) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type BundledNpm (line 99) | pub struct BundledNpm; method fetch (line 102) | fn fetch(self: Box, _session: &mut Session) -> Fallible<()> { method install (line 107) | fn install(self: Box, session: &mut Session) -> Fallible<()> { method pin (line 138) | fn pin(self: Box, session: &mut Session) -> Fallible<()> { method fmt (line 175) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function test_npm_archive_basename (line 185) | fn test_npm_archive_basename() { function test_npm_archive_filename (line 190) | fn test_npm_archive_filename() { FILE: crates/volta-core/src/tool/npm/resolve.rs function resolve (line 14) | pub fn resolve(matching: VersionSpec, session: &mut Session) -> Fallible... function fetch_npm_index (line 27) | fn fetch_npm_index(hooks: Option<&ToolHooks>) -> Fallible<(String, ... function resolve_tag (line 42) | fn resolve_tag(tag: &str, hooks: Option<&ToolHooks>) -> Fallible>) -> Fa... FILE: crates/volta-core/src/tool/package/configure.rs function parse_manifest (line 12) | pub(super) fn parse_manifest( function write_config_and_shims (line 24) | pub(super) fn write_config_and_shims( function validate_bins (line 69) | fn validate_bins(package_name: &str, manifest: &PackageManifest) -> Fall... FILE: crates/volta-core/src/tool/package/install.rs function run_global_install (line 15) | pub(super) fn run_global_install( FILE: crates/volta-core/src/tool/package/manager.rs type PackageManager (line 13) | pub enum PackageManager { method source_dir (line 22) | pub fn source_dir(self, package_root: PathBuf) -> PathBuf { method source_root (line 32) | pub fn source_root(self, package_root: PathBuf) -> PathBuf { method source_root (line 50) | pub fn source_root(self, package_root: PathBuf) -> PathBuf { method binary_dir (line 75) | pub fn binary_dir(self, package_root: PathBuf) -> PathBuf { method binary_dir (line 86) | pub fn binary_dir(self, package_root: PathBuf) -> PathBuf { method setup_global_command (line 101) | pub fn setup_global_command(self, command: &mut Command, package_root:... method get_installed_package (line 148) | pub(super) fn get_installed_package(self, package_root: PathBuf) -> Op... function get_npm_package_name (line 162) | fn get_npm_package_name(mut source_dir: PathBuf) -> Option { function get_single_directory_name (line 179) | fn get_single_directory_name(parent_dir: &Path) -> Option { function get_pnpm_or_yarn_package_name (line 202) | fn get_pnpm_or_yarn_package_name(source_root: PathBuf) -> Option { FILE: crates/volta-core/src/tool/package/metadata.rs type PackageConfig (line 18) | pub struct PackageConfig { method from_file (line 35) | pub fn from_file

(file: P) -> Fallible method from_file_if_exists (line 45) | pub fn from_file_if_exists

(file: P) -> Fallible> method write (line 69) | pub fn write(self) -> Fallible<()> { type BinConfig (line 92) | pub struct BinConfig { method from_file (line 109) | pub fn from_file

(file: P) -> Fallible method from_file_if_exists (line 119) | pub fn from_file_if_exists

(file: P) -> Fallible> method write (line 143) | pub fn write(self) -> Fallible<()> { type RawPlatformSpec (line 163) | struct RawPlatformSpec { type PackageManifest (line 184) | pub struct PackageManifest { method for_dir (line 197) | pub fn for_dir(package: &str, package_root: &Path) -> Fallible { type GlobalYarnManifest (line 228) | pub(super) struct GlobalYarnManifest { function deserialize (line 238) | pub fn deserialize<'de, D>(deserializer: D) -> Result, D::Er... type BinMapVisitor (line 245) | struct BinMapVisitor; type Value (line 248) | type Value = Vec; method expecting (line 250) | fn expecting(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method visit_str (line 255) | fn visit_str(self, _path: &str) -> Result method visit_map (line 265) | fn visit_map(self, mut access: M) -> Result function default_binary_name (line 288) | fn default_binary_name(package_name: &str) -> String { function default_binary_uses_full_name_if_unscoped (line 315) | fn default_binary_uses_full_name_if_unscoped() { function default_binary_removes_scope (line 320) | fn default_binary_removes_scope() { FILE: crates/volta-core/src/tool/package/mod.rs type Package (line 30) | pub struct Package { method new (line 37) | pub fn new(name: String, version: VersionSpec) -> Fallible { method run_install (line 47) | pub fn run_install(&self, platform_image: &Image) -> Fallible<()> { method complete_install (line 55) | pub fn complete_install(self, image: &Image) -> Fallible, _session: &mut Session) -> Fallible<()> { method install (line 76) | fn install(self: Box, session: &mut Session) -> Fallible<()> { method pin (line 108) | fn pin(self: Box, _session: &mut Session) -> Fallible<()> { method fmt (line 114) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type DirectInstall (line 129) | pub struct DirectInstall { method new (line 136) | pub fn new(manager: PackageManager) -> Fallible { method with_name (line 146) | pub fn with_name(manager: PackageManager, name: String) -> Fallible Fallible<()> { type InPlaceUpgrade (line 182) | pub struct InPlaceUpgrade { method new (line 189) | pub fn new(package: String, manager: PackageManager) -> Fallible { method check_upgraded_package (line 202) | pub fn check_upgraded_package(&self) -> Fallible<()> { method setup_command (line 221) | pub fn setup_command(&self, command: &mut Command) { method complete_upgrade (line 226) | pub fn complete_upgrade(self, image: &Image) -> Fallible<()> { type NeedsScope (line 235) | enum NeedsScope { method from (line 241) | fn from(value: bool) -> Self { function setup_staging_directory (line 252) | fn setup_staging_directory(manager: PackageManager, needs_scope: NeedsSc... function persist_install (line 286) | fn persist_install(package_name: &str, package_version: V, staging_di... function link_package_to_shared_dir (line 308) | fn link_package_to_shared_dir(package_name: &str, manager: PackageManage... FILE: crates/volta-core/src/tool/package/uninstall.rs function uninstall (line 19) | pub fn uninstall(name: &str) -> Fallible<()> { function remove_config_and_shim (line 66) | fn remove_config_and_shim(bin_name: &str, pkg_name: &str) -> Fallible<()> { function binaries_from_package (line 79) | fn binaries_from_package(package: &str) -> Fallible> { function remove_shared_link_dir (line 100) | fn remove_shared_link_dir(name: &str) -> Fallible<()> { FILE: crates/volta-core/src/tool/pnpm/fetch.rs function fetch (line 20) | pub fn fetch(version: &Version, hooks: Option<&ToolHooks>) -> Fall... function unpack_archive (line 60) | fn unpack_archive(archive: Box, version: &Version) -> Falli... function load_cached_distro (line 111) | fn load_cached_distro(file: &Path) -> Option> { function determine_remote_url (line 121) | fn determine_remote_url(version: &Version, hooks: Option<&ToolHooks Fallible<()> { function write_cmd_launcher (line 175) | fn write_cmd_launcher(base_path: &Path, tool: &str) -> Fallible<()> { FILE: crates/volta-core/src/tool/pnpm/mod.rs type Pnpm (line 21) | pub struct Pnpm { method new (line 26) | pub fn new(version: Version) -> Self { method archive_basename (line 30) | pub fn archive_basename(version: &str) -> String { method archive_filename (line 34) | pub fn archive_filename(version: &str) -> String { method ensure_fetched (line 38) | pub(crate) fn ensure_fetched(&self, session: &mut Session) -> Fallible... method fetch (line 50) | fn fetch(self: Box, session: &mut Session) -> Fallible<()> { method install (line 57) | fn install(self: Box, session: &mut Session) -> Fallible<()> { method pin (line 77) | fn pin(self: Box, session: &mut Session) -> Fallible<()> { method fmt (line 94) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function test_pnpm_archive_basename (line 104) | fn test_pnpm_archive_basename() { function test_pnpm_archive_filename (line 109) | fn test_pnpm_archive_filename() { FILE: crates/volta-core/src/tool/pnpm/resolve.rs function resolve (line 11) | pub fn resolve(matching: VersionSpec, session: &mut Session) -> Fallible... function resolve_tag (line 21) | fn resolve_tag(tag: &str, hooks: Option<&ToolHooks>) -> Fallible>) -> F... function fetch_pnpm_index (line 60) | fn fetch_pnpm_index(hooks: Option<&ToolHooks>) -> Fallible<(String... FILE: crates/volta-core/src/tool/registry.rs constant NPM_ABBREVIATED_ACCEPT_HEADER (line 17) | pub const NPM_ABBREVIATED_ACCEPT_HEADER: &str = function fetch_npm_registry (line 38) | pub fn fetch_npm_registry(url: String, name: &str) -> Fallible<(String, ... function public_registry_package (line 51) | pub fn public_registry_package(package: &str, version: &str) -> String { function scoped_public_registry_package (line 62) | pub fn scoped_public_registry_package(scope: &str, package: &str, versio... function find_unpack_dir (line 75) | pub fn find_unpack_dir(in_dir: &Path) -> Fallible { type PackageDetails (line 92) | pub struct PackageDetails { type PackageIndex (line 97) | pub struct PackageIndex { method from (line 132) | fn from(serial: RawPackageMetadata) -> PackageIndex { type RawPackageMetadata (line 107) | pub struct RawPackageMetadata { type RawPackageVersionInfo (line 118) | pub struct RawPackageVersionInfo { type RawDistInfo (line 126) | pub struct RawDistInfo { FILE: crates/volta-core/src/tool/serial.rs method from_str_and_version (line 17) | pub fn from_str_and_version(tool_name: &str, version: VersionSpec) -> Se... method try_from_str (line 28) | pub fn try_from_str(tool_spec: &str) -> Fallible { method from_strings (line 71) | pub fn from_strings(tool_strs: &[T], action: &str) -> Fallible(args: &[T], action: &str) -> Fallible<()> method sort_comparator (line 137) | fn sort_comparator(left: &Spec, right: &Spec) -> Ordering { function is_version_like (line 159) | fn is_version_like(value: &str) -> bool { constant LTS (line 177) | const LTS: &str = "lts"; constant LATEST (line 178) | const LATEST: &str = "latest"; constant MAJOR (line 179) | const MAJOR: &str = "3"; constant MINOR (line 180) | const MINOR: &str = "3.0"; constant PATCH (line 181) | const PATCH: &str = "3.0.0"; constant BETA (line 182) | const BETA: &str = "beta"; function parses_bare_node (line 192) | fn parses_bare_node() { function parses_node_with_valid_versions (line 200) | fn parses_node_with_valid_versions() { function parses_bare_yarn (line 230) | fn parses_bare_yarn() { function parses_yarn_with_valid_versions (line 238) | fn parses_yarn_with_valid_versions() { function parses_bare_packages (line 263) | fn parses_bare_packages() { function parses_namespaced_packages (line 272) | fn parses_namespaced_packages() { function parses_bare_packages_with_valid_versions (line 281) | fn parses_bare_packages_with_valid_versions() { function parses_namespaced_packages_with_valid_versions (line 328) | fn parses_namespaced_packages_with_valid_versions() { function special_cases_just_number (line 382) | fn special_cases_just_number() { function special_cases_tool_space_number (line 399) | fn special_cases_tool_space_number() { function leaves_other_scenarios_alone (line 418) | fn leaves_other_scenarios_alone() { function sorts_node_npm_yarn_to_front (line 471) | fn sorts_node_npm_yarn_to_front() { function keeps_package_order_unchanged (line 491) | fn keeps_package_order_unchanged() { FILE: crates/volta-core/src/tool/yarn/fetch.rs function fetch (line 22) | pub fn fetch(version: &Version, hooks: Option<&YarnHooks>) -> Fallible<(... function unpack_archive (line 62) | fn unpack_archive(archive: Box, version: &Version) -> Falli... function load_cached_distro (line 107) | fn load_cached_distro(file: &Path) -> Option> { function determine_remote_url (line 117) | fn determine_remote_url(version: &Version, hooks: Option<&YarnHooks>) ->... function fetch_remote_distro (line 143) | fn fetch_remote_distro( function ensure_bin_is_executable (line 155) | fn ensure_bin_is_executable(unpack_dir: &Path, tool: &str) -> Fallible<(... FILE: crates/volta-core/src/tool/yarn/metadata.rs type YarnIndex (line 8) | pub struct YarnIndex { method from (line 46) | fn from(raw: RawYarnIndex) -> YarnIndex { type RawYarnIndex (line 13) | pub struct RawYarnIndex(Vec); type RawYarnEntry (line 16) | pub struct RawYarnEntry { method is_full_release (line 31) | fn is_full_release(&self) -> bool { type RawYarnAsset (line 40) | pub struct RawYarnAsset { FILE: crates/volta-core/src/tool/yarn/mod.rs type Yarn (line 21) | pub struct Yarn { method new (line 26) | pub fn new(version: Version) -> Self { method archive_basename (line 30) | pub fn archive_basename(version: &str) -> String { method archive_filename (line 34) | pub fn archive_filename(version: &str) -> String { method ensure_fetched (line 38) | pub(crate) fn ensure_fetched(&self, session: &mut Session) -> Fallible... method fetch (line 50) | fn fetch(self: Box, session: &mut Session) -> Fallible<()> { method install (line 56) | fn install(self: Box, session: &mut Session) -> Fallible<()> { method pin (line 75) | fn pin(self: Box, session: &mut Session) -> Fallible<()> { method fmt (line 92) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function test_yarn_archive_basename (line 102) | fn test_yarn_archive_basename() { function test_yarn_archive_filename (line 107) | fn test_yarn_archive_filename() { FILE: crates/volta-core/src/tool/yarn/resolve.rs function resolve (line 17) | pub fn resolve(matching: VersionSpec, session: &mut Session) -> Fallible... function resolve_tag (line 27) | fn resolve_tag(tag: VersionTag, hooks: Option<&YarnHooks>) -> Fallible) -> Fallibl... function fetch_yarn_index (line 76) | fn fetch_yarn_index(package: &str) -> Fallible<(String, PackageIndex)> { function resolve_custom_tag (line 81) | fn resolve_custom_tag(tag: String) -> Fallible { function resolve_latest_legacy (line 107) | fn resolve_latest_legacy(url: String) -> Fallible { function resolve_semver_from_registry (line 120) | fn resolve_semver_from_registry(matching: Range) -> Fallible { function resolve_semver_legacy (line 176) | fn resolve_semver_legacy(matching: Range, url: String) -> Fallible Fallible { FILE: crates/volta-core/src/toolchain/mod.rs type LazyToolchain (line 15) | pub struct LazyToolchain { method init (line 21) | pub fn init() -> Self { method get (line 28) | pub fn get(&self) -> Fallible<&Toolchain> { method get_mut (line 33) | pub fn get_mut(&mut self) -> Fallible<&mut Toolchain> { type Toolchain (line 39) | pub struct Toolchain { method current (line 44) | fn current() -> Fallible { method platform (line 59) | pub fn platform(&self) -> Option<&PlatformSpec> { method set_active_node (line 64) | pub fn set_active_node(&mut self, node_version: &Version) -> Fallible<... method set_active_yarn (line 93) | pub fn set_active_yarn(&mut self, yarn: Option) -> Fallible<(... method set_active_pnpm (line 110) | pub fn set_active_pnpm(&mut self, pnpm: Option) -> Fallible<(... method set_active_npm (line 127) | pub fn set_active_npm(&mut self, npm: Option) -> Fallible<()> { method save (line 140) | pub fn save(&self) -> Fallible<()> { FILE: crates/volta-core/src/toolchain/serial.rs type NodeVersion (line 8) | pub struct NodeVersion { type Platform (line 16) | pub struct Platform { method of (line 28) | pub fn of(source: &PlatformSpec) -> Self { method into_json (line 40) | pub fn into_json(self) -> Fallible { type Error (line 46) | type Error = VoltaError; method try_from (line 47) | fn try_from(src: String) -> Fallible { function from (line 59) | fn from(platform: Platform) -> Option { constant BASIC_JSON_STR (line 81) | const BASIC_JSON_STR: &str = r#"{ function test_from_json (line 91) | fn test_from_json() { function test_from_json_empty_string (line 106) | fn test_from_json_empty_string() { function test_into_json (line 118) | fn test_into_json() { FILE: crates/volta-core/src/version/mod.rs type VersionSpec (line 11) | pub enum VersionSpec { method fmt (line 40) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type VersionTag (line 28) | pub enum VersionTag { method fmt (line 51) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Err (line 61) | type Err = VoltaError; method from_str (line 63) | fn from_str(s: &str) -> Fallible { type Err (line 75) | type Err = VoltaError; method from_str (line 77) | fn from_str(s: &str) -> Fallible { function parse_requirements (line 88) | pub fn parse_requirements(s: impl AsRef) -> Fallible { function parse_version (line 94) | pub fn parse_version(s: impl AsRef) -> Fallible { function trim_version (line 101) | fn trim_version(s: &str) -> &str { type VersionVisitor (line 117) | struct VersionVisitor; type Value (line 120) | type Value = Version; method expecting (line 122) | fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { method visit_str (line 127) | fn visit_str(self, value: &str) -> Result function serialize (line 135) | pub fn serialize(version: &Version, s: S) -> Result function deserialize (line 142) | pub fn deserialize<'de, D>(deserializer: D) -> Result function serialize (line 157) | pub fn serialize(version: &Option, s: S) -> Result(deserializer: D) -> Result, D... type Wrapper (line 190) | struct Wrapper(#[serde(deserialize_with = "version_serde::deserialize")]... function deserialize (line 192) | pub fn deserialize<'de, D>(deserializer: D) -> Result Result { function test_parse_requirements (line 27) | fn test_parse_requirements() { FILE: crates/volta-layout-macro/src/ast.rs type Result (line 8) | pub(crate) type Result = ::std::result::Result; type Ast (line 20) | pub(crate) struct Ast { method compile (line 37) | pub(crate) fn compile(self) -> TokenStream { method parse (line 25) | fn parse(input: ParseStream) -> parse::Result { type LayoutStruct (line 56) | pub(crate) struct LayoutStruct { method flatten (line 81) | fn flatten(self) -> Result { method parse (line 64) | fn parse(input: ParseStream) -> parse::Result { type Directory (line 107) | struct Directory { method flatten (line 129) | fn flatten(self, results: &mut Ir, context: Vec) -> Result<()> { method parse (line 112) | fn parse(input: ParseStream) -> parse::Result { type EntryKind (line 121) | enum EntryKind { type FieldPrefix (line 234) | struct FieldPrefix { method parse (line 240) | fn parse(input: ParseStream) -> parse::Result { type FieldContents (line 249) | enum FieldContents { method parse (line 258) | fn parse(input: ParseStream) -> parse::Result { FILE: crates/volta-layout-macro/src/ir.rs type Ir (line 24) | pub(crate) struct Ir { method dir_names (line 34) | fn dir_names(&self) -> impl Iterator { method file_names (line 38) | fn file_names(&self) -> impl Iterator { method exe_names (line 42) | fn exe_names(&self) -> impl Iterator { method field_names (line 46) | fn field_names(&self) -> impl Iterator { method to_struct_decl (line 53) | fn to_struct_decl(&self) -> TokenStream { method to_create_method (line 74) | fn to_create_method(&self) -> TokenStream { method to_item_methods (line 89) | fn to_item_methods(&self) -> TokenStream { method to_ctor (line 116) | fn to_ctor(&self) -> TokenStream { method codegen (line 150) | pub(crate) fn codegen(&self) -> TokenStream { type Entry (line 165) | pub(crate) struct Entry { method to_normal_init (line 172) | fn to_normal_init(&self, root: &Ident) -> TokenStream { method to_exe_init (line 188) | fn to_exe_init(&self, root: &Ident) -> TokenStream { FILE: crates/volta-layout-macro/src/lib.rs function layout (line 54) | pub fn layout(input: TokenStream) -> TokenStream { FILE: crates/volta-layout/src/lib.rs function executable (line 10) | fn executable(name: &str) -> String { FILE: crates/volta-layout/src/v0.rs method package_distro_file (line 43) | pub fn package_distro_file(&self, name: &str, version: &str) -> PathBuf { method package_distro_shasum (line 50) | pub fn package_distro_shasum(&self, name: &str, version: &str) -> PathBuf { method node_image_dir (line 57) | pub fn node_image_dir(&self, node: &str, npm: &str) -> PathBuf { method yarn_image_dir (line 61) | pub fn yarn_image_dir(&self, version: &str) -> PathBuf { method yarn_image_bin_dir (line 65) | pub fn yarn_image_bin_dir(&self, version: &str) -> PathBuf { method package_image_dir (line 69) | pub fn package_image_dir(&self, name: &str, version: &str) -> PathBuf { method default_package_config_file (line 73) | pub fn default_package_config_file(&self, package_name: &str) -> PathBuf { method default_tool_bin_config (line 80) | pub fn default_tool_bin_config(&self, bin_name: &str) -> PathBuf { method node_npm_version_file (line 84) | pub fn node_npm_version_file(&self, version: &str) -> PathBuf { method shim_file (line 91) | pub fn shim_file(&self, toolname: &str) -> PathBuf { method shim_git_bash_script_file (line 98) | pub fn shim_git_bash_script_file(&self, toolname: &str) -> PathBuf { method node_image_bin_dir (line 102) | pub fn node_image_bin_dir(&self, node: &str, npm: &str) -> PathBuf { method bin_dir (line 109) | pub fn bin_dir(&self) -> PathBuf { method node_image_bin_dir (line 116) | pub fn node_image_bin_dir(&self, node: &str, npm: &str) -> PathBuf { FILE: crates/volta-layout/src/v1.rs method package_distro_file (line 46) | pub fn package_distro_file(&self, name: &str, version: &str) -> PathBuf { method package_distro_shasum (line 53) | pub fn package_distro_shasum(&self, name: &str, version: &str) -> PathBuf { method node_image_dir (line 60) | pub fn node_image_dir(&self, node: &str, npm: &str) -> PathBuf { method yarn_image_dir (line 64) | pub fn yarn_image_dir(&self, version: &str) -> PathBuf { method yarn_image_bin_dir (line 68) | pub fn yarn_image_bin_dir(&self, version: &str) -> PathBuf { method package_image_dir (line 72) | pub fn package_image_dir(&self, name: &str, version: &str) -> PathBuf { method default_package_config_file (line 76) | pub fn default_package_config_file(&self, package_name: &str) -> PathBuf { method default_tool_bin_config (line 83) | pub fn default_tool_bin_config(&self, bin_name: &str) -> PathBuf { method node_npm_version_file (line 87) | pub fn node_npm_version_file(&self, version: &str) -> PathBuf { method shim_file (line 94) | pub fn shim_file(&self, toolname: &str) -> PathBuf { method shim_git_bash_script_file (line 101) | pub fn shim_git_bash_script_file(&self, toolname: &str) -> PathBuf { method node_image_bin_dir (line 105) | pub fn node_image_bin_dir(&self, node: &str, npm: &str) -> PathBuf { method node_image_bin_dir (line 112) | pub fn node_image_bin_dir(&self, node: &str, npm: &str) -> PathBuf { FILE: crates/volta-layout/src/v2.rs method package_distro_file (line 44) | pub fn package_distro_file(&self, name: &str, version: &str) -> PathBuf { method package_distro_shasum (line 51) | pub fn package_distro_shasum(&self, name: &str, version: &str) -> PathBuf { method node_image_dir (line 58) | pub fn node_image_dir(&self, node: &str) -> PathBuf { method npm_image_dir (line 62) | pub fn npm_image_dir(&self, npm: &str) -> PathBuf { method npm_image_bin_dir (line 66) | pub fn npm_image_bin_dir(&self, npm: &str) -> PathBuf { method yarn_image_dir (line 70) | pub fn yarn_image_dir(&self, version: &str) -> PathBuf { method yarn_image_bin_dir (line 74) | pub fn yarn_image_bin_dir(&self, version: &str) -> PathBuf { method package_image_dir (line 78) | pub fn package_image_dir(&self, name: &str, version: &str) -> PathBuf { method default_package_config_file (line 82) | pub fn default_package_config_file(&self, package_name: &str) -> PathBuf { method default_tool_bin_config (line 89) | pub fn default_tool_bin_config(&self, bin_name: &str) -> PathBuf { method node_npm_version_file (line 93) | pub fn node_npm_version_file(&self, version: &str) -> PathBuf { method shim_file (line 100) | pub fn shim_file(&self, toolname: &str) -> PathBuf { method shim_git_bash_script_file (line 107) | pub fn shim_git_bash_script_file(&self, toolname: &str) -> PathBuf { method node_image_bin_dir (line 111) | pub fn node_image_bin_dir(&self, node: &str) -> PathBuf { method node_image_bin_dir (line 118) | pub fn node_image_bin_dir(&self, node: &str) -> PathBuf { FILE: crates/volta-layout/src/v3.rs method node_image_dir (line 46) | pub fn node_image_dir(&self, node: &str) -> PathBuf { method npm_image_dir (line 50) | pub fn npm_image_dir(&self, npm: &str) -> PathBuf { method npm_image_bin_dir (line 54) | pub fn npm_image_bin_dir(&self, npm: &str) -> PathBuf { method pnpm_image_dir (line 58) | pub fn pnpm_image_dir(&self, version: &str) -> PathBuf { method pnpm_image_bin_dir (line 62) | pub fn pnpm_image_bin_dir(&self, version: &str) -> PathBuf { method yarn_image_dir (line 66) | pub fn yarn_image_dir(&self, version: &str) -> PathBuf { method yarn_image_bin_dir (line 70) | pub fn yarn_image_bin_dir(&self, version: &str) -> PathBuf { method package_image_dir (line 74) | pub fn package_image_dir(&self, name: &str) -> PathBuf { method default_package_config_file (line 78) | pub fn default_package_config_file(&self, package_name: &str) -> PathBuf { method default_tool_bin_config (line 85) | pub fn default_tool_bin_config(&self, bin_name: &str) -> PathBuf { method node_npm_version_file (line 89) | pub fn node_npm_version_file(&self, version: &str) -> PathBuf { method shim_file (line 96) | pub fn shim_file(&self, toolname: &str) -> PathBuf { method shared_lib_dir (line 100) | pub fn shared_lib_dir(&self, library: &str) -> PathBuf { method shim_git_bash_script_file (line 107) | pub fn shim_git_bash_script_file(&self, toolname: &str) -> PathBuf { method node_image_bin_dir (line 111) | pub fn node_image_bin_dir(&self, node: &str) -> PathBuf { method node_image_bin_dir (line 118) | pub fn node_image_bin_dir(&self, node: &str) -> PathBuf { FILE: crates/volta-layout/src/v4.rs method node_image_dir (line 45) | pub fn node_image_dir(&self, node: &str) -> PathBuf { method npm_image_dir (line 49) | pub fn npm_image_dir(&self, npm: &str) -> PathBuf { method npm_image_bin_dir (line 53) | pub fn npm_image_bin_dir(&self, npm: &str) -> PathBuf { method pnpm_image_dir (line 57) | pub fn pnpm_image_dir(&self, version: &str) -> PathBuf { method pnpm_image_bin_dir (line 61) | pub fn pnpm_image_bin_dir(&self, version: &str) -> PathBuf { method yarn_image_dir (line 65) | pub fn yarn_image_dir(&self, version: &str) -> PathBuf { method yarn_image_bin_dir (line 69) | pub fn yarn_image_bin_dir(&self, version: &str) -> PathBuf { method package_image_dir (line 73) | pub fn package_image_dir(&self, name: &str) -> PathBuf { method default_package_config_file (line 77) | pub fn default_package_config_file(&self, package_name: &str) -> PathBuf { method default_tool_bin_config (line 84) | pub fn default_tool_bin_config(&self, bin_name: &str) -> PathBuf { method node_npm_version_file (line 88) | pub fn node_npm_version_file(&self, version: &str) -> PathBuf { method shim_file (line 95) | pub fn shim_file(&self, toolname: &str) -> PathBuf { method shared_lib_dir (line 104) | pub fn shared_lib_dir(&self, library: &str) -> PathBuf { method shim_git_bash_script_file (line 111) | pub fn shim_git_bash_script_file(&self, toolname: &str) -> PathBuf { method node_image_bin_dir (line 115) | pub fn node_image_bin_dir(&self, node: &str) -> PathBuf { method node_image_bin_dir (line 122) | pub fn node_image_bin_dir(&self, node: &str) -> PathBuf { FILE: crates/volta-migrate/src/empty.rs type Empty (line 7) | pub struct Empty { method new (line 12) | pub fn new(home: PathBuf) -> Self { FILE: crates/volta-migrate/src/lib.rs type MigrationState (line 38) | enum MigrationState { method current (line 87) | fn current() -> Fallible { method detect_legacy_state (line 100) | fn detect_legacy_state(home: &Path) -> Fallible { function run_migration (line 141) | pub fn run_migration() -> Fallible<()> { function detect_and_migrate (line 156) | fn detect_and_migrate() -> Fallible<()> { FILE: crates/volta-migrate/src/v0.rs type V0 (line 9) | pub struct V0 { method new (line 14) | pub fn new(home: PathBuf) -> Self { FILE: crates/volta-migrate/src/v1.rs type V1 (line 17) | pub struct V1 { method new (line 22) | pub fn new(home: PathBuf) -> Self { method complete_migration (line 32) | fn complete_migration(home: v1::VoltaHome) -> Fallible { type Error (line 43) | type Error = VoltaError; method try_from (line 45) | fn try_from(old: Empty) -> Fallible { type Error (line 58) | type Error = VoltaError; method try_from (line 60) | fn try_from(old: V0) -> Fallible { FILE: crates/volta-migrate/src/v2.rs type V2 (line 20) | pub struct V2 { method new (line 25) | pub fn new(home: PathBuf) -> Self { method complete_migration (line 35) | fn complete_migration(home: v2::VoltaHome) -> Fallible { type Error (line 46) | type Error = VoltaError; method try_from (line 48) | fn try_from(old: Empty) -> Fallible { type Error (line 61) | type Error = VoltaError; method try_from (line 63) | fn try_from(old: V1) -> Fallible { function clear_default_npm (line 91) | fn clear_default_npm(platform_file: &Path) -> Fallible<()> { function shift_node_images (line 133) | fn shift_node_images(old_home: &v1::VoltaHome, new_home: &v2::VoltaHome)... function remove_npm_version_from_node_image_dir (line 158) | fn remove_npm_version_from_node_image_dir( FILE: crates/volta-migrate/src/v3.rs type V3 (line 23) | pub struct V3 { method new (line 28) | pub fn new(home: PathBuf) -> Self { method complete_migration (line 38) | fn complete_migration(home: v3::VoltaHome) -> Fallible { type Error (line 49) | type Error = VoltaError; method try_from (line 51) | fn try_from(old: Empty) -> Fallible { type Error (line 64) | type Error = VoltaError; method try_from (line 66) | fn try_from(old: V2) -> Fallible { function migrate_packages (line 92) | fn migrate_packages(old_home: &v2::VoltaHome) -> Fallible<()> { function get_installed_packages (line 104) | fn get_installed_packages(old_home: &v2::VoltaHome) -> Vec bool { function migrate_single_package (line 155) | fn migrate_single_package(config: LegacyPackageConfig, session: &mut Ses... FILE: crates/volta-migrate/src/v3/config.rs type LegacyPackageConfig (line 9) | pub struct LegacyPackageConfig { method from_file (line 33) | pub fn from_file(config_file: &Path) -> Option { type LegacyPlatform (line 18) | pub struct LegacyPlatform { type NodeVersion (line 25) | pub struct NodeVersion { method from (line 41) | fn from(config_platform: LegacyPlatform) -> Self { FILE: crates/volta-migrate/src/v4.rs type V4 (line 16) | pub struct V4 { method new (line 21) | pub fn new(home: PathBuf) -> Self { method complete_migration (line 31) | fn complete_migration(home: v4::VoltaHome) -> Fallible { type Error (line 42) | type Error = VoltaError; method try_from (line 44) | fn try_from(old: Empty) -> Fallible { type Error (line 57) | type Error = VoltaError; method try_from (line 59) | fn try_from(old: V3) -> Fallible { function migrate_shims (line 94) | fn migrate_shims(new_home: &v4::VoltaHome) -> Fallible<()> { function migrate_shared_directory (line 123) | fn migrate_shared_directory(new_home: &v4::VoltaHome) -> Fallible<()> { FILE: src/cli.rs type Volta (line 20) | pub(crate) struct Volta { method run (line 47) | pub(crate) fn run(self, session: &mut Session) -> Fallible { type Subcommand (line 65) | pub(crate) enum Subcommand { method run (line 107) | pub(crate) fn run(self, session: &mut Session) -> Fallible { function styles (line 123) | fn styles() -> styling::Styles { FILE: src/command/completions.rs type Completions (line 16) | pub(crate) struct Completions { method run (line 31) | fn run(self, session: &mut Session) -> Fallible { FILE: src/command/fetch.rs type Fetch (line 8) | pub(crate) struct Fetch { method run (line 15) | fn run(self, session: &mut Session) -> Fallible { FILE: src/command/install.rs type Install (line 8) | pub(crate) struct Install { method run (line 15) | fn run(self, session: &mut Session) -> Fallible { FILE: src/command/list/human.rs function format (line 19) | pub(super) fn format(toolchain: &Toolchain) -> Option { function display_active (line 47) | fn display_active( function display_all (line 87) | fn display_all( function display_node (line 110) | fn display_node(runtimes: &[Node]) -> String { function display_npms (line 122) | fn display_npms(managers: &[PackageManager]) -> String { function display_package_managers (line 142) | fn display_package_managers(kind: PackageManagerKind, managers: &[Packag... function display_packages (line 176) | fn display_packages(packages: &[Package]) -> String { function display_tool (line 194) | fn display_tool(tool: &str, host_packages: &[Package]) -> String { function format_tool_list (line 216) | fn format_tool_list(packages: &[Package]) -> String { function format_tool (line 224) | fn format_tool(package: &Package) -> String { function format_runtime_list (line 238) | fn format_runtime_list(runtimes: &[Node]) -> String { function format_runtime (line 249) | fn format_runtime(runtime: &Node) -> String { function format_package_manager_list_condensed (line 254) | fn format_package_manager_list_condensed(package_managers: &[PackageMana... function format_package_manager_list_verbose (line 271) | fn format_package_manager_list_verbose(package_managers: &[PackageManage... function format_package_manager (line 297) | fn format_package_manager(package_manager: &PackageManager) -> String { function format_package_manager_kind (line 304) | fn format_package_manager_kind(kind: PackageManagerKind) -> String { function format_package_list (line 313) | fn format_package_list(packages: &[Package]) -> String { function format_package (line 324) | fn format_package(package: &Package) -> String { function list_package_source (line 370) | fn list_package_source(package: &Package) -> String { function wrap (line 379) | fn wrap(text: S) -> String function no_runtimes (line 420) | fn no_runtimes() { function runtime_only_default (line 431) | fn runtime_only_default() { function runtime_only_project (line 453) | fn runtime_only_project() { function runtime_and_npm_default (line 475) | fn runtime_and_npm_default() { function runtime_and_yarn_default (line 502) | fn runtime_and_yarn_default() { function runtime_and_npm_mixed (line 529) | fn runtime_and_npm_mixed() { function runtime_and_yarn_mixed (line 556) | fn runtime_and_yarn_mixed() { function runtime_and_npm_project (line 583) | fn runtime_and_npm_project() { function runtime_and_yarn_project (line 610) | fn runtime_and_yarn_project() { function runtime_npm_and_yarn_default (line 637) | fn runtime_npm_and_yarn_default() { function runtime_npm_and_yarn_project (line 672) | fn runtime_npm_and_yarn_project() { function runtime_npm_and_yarn_mixed (line 707) | fn runtime_npm_and_yarn_mixed() { function with_default_tools (line 742) | fn with_default_tools() { function with_project_tools (line 796) | fn with_project_tools() { function no_runtimes (line 853) | fn no_runtimes() { function single_default (line 861) | fn single_default() { function single_project (line 874) | fn single_project() { function single_installed (line 888) | fn single_installed() { function multi (line 902) | fn multi() { function none_installed_npm (line 933) | fn none_installed_npm() { function none_installed_yarn (line 947) | fn none_installed_yarn() { function single_default_npm (line 960) | fn single_default_npm() { function single_default_yarn (line 978) | fn single_default_yarn() { function single_project_npm (line 996) | fn single_project_npm() { function single_project_yarn (line 1014) | fn single_project_yarn() { function single_installed_npm (line 1032) | fn single_installed_npm() { function single_installed_yarn (line 1050) | fn single_installed_yarn() { function multi_npm (line 1068) | fn multi_npm() { function multi_yarn (line 1100) | fn multi_yarn() { function none (line 1138) | fn none() { function single_default (line 1148) | fn single_default() { function single_project (line 1170) | fn single_project() { function single_fetched (line 1186) | fn single_fetched() { function multi_fetched (line 1202) | fn multi_fetched() { function multi (line 1227) | fn multi() { function none (line 1264) | fn none() { function single_default (line 1274) | fn single_default() { function single_project (line 1296) | fn single_project() { function single_fetched (line 1312) | fn single_fetched() { function multi_fetched (line 1328) | fn multi_fetched() { function multi (line 1353) | fn multi() { function empty (line 1389) | fn empty() { function runtime_and_npm (line 1401) | fn runtime_and_npm() { function runtime_and_yarn (line 1459) | fn runtime_and_yarn() { function full (line 1517) | fn full() { FILE: src/command/list/mod.rs type Format (line 19) | enum Format { type Source (line 30) | enum Source { method allowed_with (line 43) | fn allowed_with(&self, filter: &Filter) -> bool { method fmt (line 53) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type PackageDetails (line 68) | struct PackageDetails { type Package (line 75) | enum Package { method new (line 93) | fn new(config: &PackageConfig, source: &Source) -> Package { method from_inventory_and_project (line 114) | fn from_inventory_and_project(project: Option<&Project>) -> Fallible) -> Source { type Node (line 137) | struct Node { type PackageManagerKind (line 143) | enum PackageManagerKind { method fmt (line 150) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type PackageManager (line 164) | struct PackageManager { type Filter (line 171) | enum Filter { type List (line 189) | pub(crate) struct List { method output_format (line 250) | fn output_format(&self) -> Format { type Subcommand (line 214) | enum Subcommand { type Err (line 235) | type Err = std::convert::Infallible; method from_str (line 237) | fn from_str(s: &str) -> Result { method run (line 264) | fn run(self, session: &mut Session) -> Fallible { FILE: src/command/list/plain.rs function format (line 9) | pub(super) fn format(toolchain: &Toolchain) -> Option { function describe_runtimes (line 60) | fn describe_runtimes(runtimes: &[Node]) -> Option { function describe_package_managers (line 74) | fn describe_package_managers(package_managers: &[PackageManager]) -> Opt... function describe_packages (line 88) | fn describe_packages(packages: &[Package]) -> Option { function describe_tool_set (line 102) | fn describe_tool_set(name: &str, hosts: &[Package]) -> String { function display_node (line 110) | fn display_node(source: &Source, version: &Version) -> String { function display_package_manager (line 114) | fn display_package_manager(package_manager: &PackageManager) -> String { function package_source (line 122) | fn package_source(package: &Package) -> String { function display_package (line 130) | fn display_package(package: &Package) -> String { function display_tool (line 176) | fn display_tool(name: &str, host: &Package) -> Option { function default (line 222) | fn default() { function project (line 231) | fn project() { function installed_not_set (line 240) | fn installed_not_set() { function default (line 255) | fn default() { function project (line 268) | fn project() { function installed_not_set (line 281) | fn installed_not_set() { function default (line 300) | fn default() { function project (line 313) | fn project() { function installed_not_set (line 326) | fn installed_not_set() { function single_default (line 344) | fn single_default() { function single_project (line 361) | fn single_project() { function mixed (line 375) | fn mixed() { function installed_not_set (line 405) | fn installed_not_set() { function default (line 423) | fn default() { function project (line 443) | fn project() { function fetched (line 460) | fn fetched() { function full (line 480) | fn full() { FILE: src/command/list/toolchain.rs type Toolchain (line 12) | pub(super) enum Toolchain { method active (line 124) | pub(super) fn active( method all (line 166) | pub(super) fn all( method node (line 206) | pub(super) fn node( method npm (line 227) | pub(super) fn npm( method pnpm (line 254) | pub(super) fn pnpm( method yarn (line 281) | pub(super) fn yarn( method package_or_tool (line 308) | pub(super) fn package_or_tool( type Lookup (line 36) | enum Lookup { method version_from_spec (line 48) | fn version_from_spec(&self) -> impl Fn(&PlatformSpec) -> Option) -> Fallible { FILE: src/command/mod.rs type Command (line 27) | pub(crate) trait Command: Sized { method run (line 31) | fn run(self, session: &mut Session) -> Fallible; FILE: src/command/pin.rs type Pin (line 8) | pub(crate) struct Pin { method run (line 15) | fn run(self, session: &mut Session) -> Fallible { FILE: src/command/run.rs type Run (line 14) | pub(crate) struct Run { method parse_platform (line 93) | fn parse_platform(&self, session: &mut Session) -> Fallible HashMap<&str, &str> { method run (line 58) | fn run(self, session: &mut Session) -> Fallible { FILE: src/command/setup.rs type Setup (line 11) | pub(crate) struct Setup {} method run (line 14) | fn run(self, session: &mut Session) -> Fallible { function setup_environment (line 41) | pub fn setup_environment() -> Fallible<()> { function determine_profiles (line 96) | fn determine_profiles() -> Fallible> { function add_zsh_profile (line 117) | fn add_zsh_profile(home_dir: &Path, shell: &str, profiles: &mut Vec Option { function format_home (line 195) | fn format_home(volta_home: &Path) -> String { function write_profile_sh (line 207) | fn write_profile_sh(path: &Path, contents: String, volta_home: &str) -> ... function write_profile_fish (line 216) | fn write_profile_fish(path: &Path, contents: String, volta_home: &str) -... function setup_environment (line 236) | pub fn setup_environment() -> Fallible<()> { FILE: src/command/uninstall.rs type Uninstall (line 9) | pub(crate) struct Uninstall { method run (line 15) | fn run(self, session: &mut Session) -> Fallible { FILE: src/command/use.rs constant USAGE (line 8) | pub(crate) const USAGE: &str = "The subcommand `use` is deprecated. constant ADVICE (line 14) | const ADVICE: &str = " type Use (line 20) | pub(crate) struct Use { method run (line 26) | fn run(self, session: &mut Session) -> Fallible { FILE: src/command/which.rs type Which (line 14) | pub(crate) struct Which { method run (line 24) | fn run(self, session: &mut Session) -> Fallible { FILE: src/common.rs type Error (line 6) | pub enum Error { function ensure_layout (line 11) | pub fn ensure_layout() -> Result<(), Error> { type IntoResult (line 26) | pub trait IntoResult { method into_result (line 27) | fn into_result(self) -> Result; function into_result (line 31) | fn into_result(self) -> Result<(), Error> { FILE: src/main.rs function main (line 15) | pub fn main() { FILE: src/volta-migrate.rs function main (line 6) | pub fn main() { FILE: src/volta-shim.rs function main (line 10) | pub fn main() { FILE: tests/acceptance/corrupted_download.rs constant NODE_VERSION_INFO (line 9) | const NODE_VERSION_INFO: &str = r#"[ constant NODE_VERSION_FIXTURES (line 15) | const NODE_VERSION_FIXTURES: [DistroMetadata; 2] = [ constant PNPM_VERSION_INFO (line 28) | const PNPM_VERSION_INFO: &str = r#" constant PNPM_VERSION_FIXTURES (line 39) | const PNPM_VERSION_FIXTURES: [DistroMetadata; 2] = [ constant YARN_1_VERSION_INFO (line 52) | const YARN_1_VERSION_INFO: &str = r#"{ constant YARN_1_VERSION_FIXTURES (line 61) | const YARN_1_VERSION_FIXTURES: [DistroMetadata; 2] = [ function install_corrupted_node_leaves_inventory_unchanged (line 75) | fn install_corrupted_node_leaves_inventory_unchanged() { function install_valid_node_saves_to_inventory (line 90) | fn install_valid_node_saves_to_inventory() { function install_corrupted_pnpm_leaves_inventory_unchanged (line 105) | fn install_corrupted_pnpm_leaves_inventory_unchanged() { function install_valid_pnpm_saves_to_inventory (line 123) | fn install_valid_pnpm_saves_to_inventory() { function install_corrupted_yarn_leaves_inventory_unchanged (line 142) | fn install_corrupted_yarn_leaves_inventory_unchanged() { function install_valid_yarn_saves_to_inventory (line 159) | fn install_valid_yarn_saves_to_inventory() { FILE: tests/acceptance/direct_install.rs function platform_with_node (line 8) | fn platform_with_node(node: &str) -> String { function platform_with_node_yarn (line 21) | fn platform_with_node_yarn(node: &str, yarn: &str) -> String { constant NODE_VERSION_INFO (line 34) | const NODE_VERSION_INFO: &str = r#"[ constant YARN_1_VERSION_INFO (line 117) | const YARN_1_VERSION_INFO: &str = r#"[ constant YARN_1_VERSION_FIXTURES (line 125) | const YARN_1_VERSION_FIXTURES: [DistroMetadata; 4] = [ constant NPM_VERSION_INFO (line 148) | const NPM_VERSION_INFO: &str = r#" constant NPM_VERSION_FIXTURES (line 160) | const NPM_VERSION_FIXTURES: [DistroMetadata; 3] = [ function npm_global_install_node_intercepts (line 179) | fn npm_global_install_node_intercepts() { function yarn_global_add_node_intercepts (line 197) | fn yarn_global_add_node_intercepts() { function npm_global_install_npm_intercepts (line 215) | fn npm_global_install_npm_intercepts() { function yarn_global_add_npm_intercepts (line 235) | fn yarn_global_add_npm_intercepts() { function npm_global_install_yarn_intercepts (line 255) | fn npm_global_install_yarn_intercepts() { function yarn_global_add_yarn_intercepts (line 275) | fn yarn_global_add_yarn_intercepts() { function npm_global_install_supports_multiples (line 295) | fn npm_global_install_supports_multiples() { function npm_global_install_without_packages_is_treated_as_not_global (line 320) | fn npm_global_install_without_packages_is_treated_as_not_global() { function yarn_global_add_supports_multiples (line 337) | fn yarn_global_add_supports_multiples() { function yarn_global_add_without_packages_is_treated_as_not_global (line 362) | fn yarn_global_add_without_packages_is_treated_as_not_global() { function npm_global_with_override_does_not_intercept (line 381) | fn npm_global_with_override_does_not_intercept() { function yarn_global_with_override_does_not_intercept (line 398) | fn yarn_global_with_override_does_not_intercept() { FILE: tests/acceptance/direct_uninstall.rs function platform_with_node (line 10) | fn platform_with_node(node: &str) -> String { function platform_with_node_yarn (line 23) | fn platform_with_node_yarn(node: &str, yarn: &str) -> String { constant PKG_CONFIG_COWSAY (line 36) | const PKG_CONFIG_COWSAY: &str = r#"{ constant PKG_CONFIG_TYPESCRIPT (line 51) | const PKG_CONFIG_TYPESCRIPT: &str = r#"{ function bin_config (line 66) | fn bin_config(name: &str, pkg: &str) -> String { constant YARN_1_VERSION_FIXTURES (line 113) | const YARN_1_VERSION_FIXTURES: [DistroMetadata; 1] = [DistroMetadata { function npm_uninstall_uses_volta_logic (line 120) | fn npm_uninstall_uses_volta_logic() { function npm_uninstall_supports_multiples (line 152) | fn npm_uninstall_supports_multiples() { function npm_uninstall_without_packages_skips_volta_logic (line 201) | fn npm_uninstall_without_packages_skips_volta_logic() { function yarn_remove_uses_volta_logic (line 217) | fn yarn_remove_uses_volta_logic() { function yarn_remove_supports_multiples (line 249) | fn yarn_remove_supports_multiples() { function yarn_remove_without_packages_skips_volta_logic (line 298) | fn yarn_remove_without_packages_skips_volta_logic() { FILE: tests/acceptance/execute_binary.rs constant PKG_CONFIG_BASIC (line 9) | const PKG_CONFIG_BASIC: &str = r#"{ function node_bin (line 24) | fn node_bin(version: &str) -> String { function npm_bin (line 46) | fn npm_bin(version: &str) -> String { function pnpm_bin (line 68) | fn pnpm_bin(version: &str) -> String { function yarn_bin (line 90) | fn yarn_bin(version: &str) -> String { function cowsay_bin (line 112) | fn cowsay_bin(name: &str, version: &str) -> String { function cowsay_bin_info (line 134) | fn cowsay_bin_info(version: &str) -> Vec { function bin_config (line 147) | fn bin_config(name: &str) -> String { constant PACKAGE_JSON_NPM_NO_DEP (line 164) | const PACKAGE_JSON_NPM_NO_DEP: &str = r#"{ constant PACKAGE_JSON_NPM_WITH_DEP (line 171) | const PACKAGE_JSON_NPM_WITH_DEP: &str = r#"{ constant PACKAGE_JSON_YARN_PNP_WITH_DEP (line 181) | const PACKAGE_JSON_YARN_PNP_WITH_DEP: &str = r#"{ constant PLATFORM_NODE_NPM (line 192) | const PLATFORM_NODE_NPM: &str = r#"{ function default_binary_no_project (line 200) | fn default_binary_no_project() { function default_binary_no_project_dep (line 236) | fn default_binary_no_project_dep() { function project_local_binary (line 272) | fn project_local_binary() { function project_local_binary_pnp (line 311) | fn project_local_binary_pnp() { FILE: tests/acceptance/hooks.rs constant WORKSPACE_PACKAGE_JSON (line 14) | const WORKSPACE_PACKAGE_JSON: &str = r#" constant PROJECT_PACKAGE_JSON (line 21) | const PROJECT_PACKAGE_JSON: &str = r#" function default_hooks_json (line 60) | fn default_hooks_json() -> String { function project_hooks_json (line 90) | fn project_hooks_json() -> String { function workspace_hooks_json (line 104) | fn workspace_hooks_json() -> String { function pnpm_hooks_json (line 123) | fn pnpm_hooks_json() -> String { function yarn_hooks_json (line 140) | fn yarn_hooks_json() -> String { function yarn_hooks_format_json (line 157) | fn yarn_hooks_format_json(format: &str) -> String { function redirects_download (line 177) | fn redirects_download() { function merges_project_and_default_hooks (line 209) | fn merges_project_and_default_hooks() { function merges_workspace_hooks (line 267) | fn merges_workspace_hooks() { function pnpm_latest_with_hook_reads_index (line 341) | fn pnpm_latest_with_hook_reads_index() { function pnpm_no_version_with_hook_reads_index (line 376) | fn pnpm_no_version_with_hook_reads_index() { function yarn_latest_with_hook_reads_latest (line 411) | fn yarn_latest_with_hook_reads_latest() { function yarn_no_version_with_hook_reads_latest (line 432) | fn yarn_no_version_with_hook_reads_latest() { function yarn_semver_with_hook_uses_old_format (line 453) | fn yarn_semver_with_hook_uses_old_format() { function yarn_semver_with_hook_uses_configured_format (line 483) | fn yarn_semver_with_hook_uses_configured_format() { FILE: tests/acceptance/merged_platform.rs constant PACKAGE_JSON_NODE_ONLY (line 13) | const PACKAGE_JSON_NODE_ONLY: &str = r#"{ constant PACKAGE_JSON_WITH_NPM (line 20) | const PACKAGE_JSON_WITH_NPM: &str = r#"{ constant PACKAGE_JSON_WITH_PNPM (line 28) | const PACKAGE_JSON_WITH_PNPM: &str = r#"{ constant PACKAGE_JSON_WITH_YARN (line 36) | const PACKAGE_JSON_WITH_YARN: &str = r#"{ constant PLATFORM_NODE_ONLY (line 44) | const PLATFORM_NODE_ONLY: &str = r#"{ constant PLATFORM_WITH_NPM (line 51) | const PLATFORM_WITH_NPM: &str = r#"{ constant PLATFORM_WITH_PNPM (line 58) | const PLATFORM_WITH_PNPM: &str = r#"{ constant PLATFORM_WITH_YARN (line 66) | const PLATFORM_WITH_YARN: &str = r#"{ function events_hooks_json (line 100) | fn events_hooks_json() -> String { constant NPM_VERSION_FIXTURES (line 159) | const NPM_VERSION_FIXTURES: [DistroMetadata; 2] = [ constant PNPM_VERSION_FIXTURES (line 172) | const PNPM_VERSION_FIXTURES: [DistroMetadata; 2] = [ constant YARN_1_VERSION_FIXTURES (line 185) | const YARN_1_VERSION_FIXTURES: [DistroMetadata; 2] = [ function uses_project_npm_if_available (line 199) | fn uses_project_npm_if_available() { function uses_bundled_npm_in_project_without_npm (line 218) | fn uses_bundled_npm_in_project_without_npm() { function uses_default_npm_outside_project (line 237) | fn uses_default_npm_outside_project() { function uses_bundled_npm_outside_project (line 255) | fn uses_bundled_npm_outside_project() { function uses_project_yarn_if_available (line 273) | fn uses_project_yarn_if_available() { function uses_default_yarn_in_project_without_yarn (line 310) | fn uses_default_yarn_in_project_without_yarn() { function uses_default_yarn_outside_project (line 330) | fn uses_default_yarn_outside_project() { function throws_project_error_in_project (line 349) | fn throws_project_error_in_project() { function throws_default_error_outside_project (line 364) | fn throws_default_error_outside_project() { function uses_project_pnpm_if_available (line 376) | fn uses_project_pnpm_if_available() { function uses_default_pnpm_in_project_without_pnpm (line 414) | fn uses_default_pnpm_in_project_without_pnpm() { function uses_default_pnpm_outside_project (line 435) | fn uses_default_pnpm_outside_project() { function uses_pnpm_throws_project_error_in_project (line 455) | fn uses_pnpm_throws_project_error_in_project() { FILE: tests/acceptance/migrations.rs function empty_volta_home_is_created (line 7) | fn empty_volta_home_is_created() { function legacy_v0_volta_home_is_upgraded (line 47) | fn legacy_v0_volta_home_is_upgraded() { function tagged_v1_volta_home_is_upgraded (line 92) | fn tagged_v1_volta_home_is_upgraded() { function tagged_v1_to_v2_keeps_custom_npm (line 161) | fn tagged_v1_to_v2_keeps_custom_npm() { function tagged_v1_to_v2_keeps_migrated_node_images (line 187) | fn tagged_v1_to_v2_keeps_migrated_node_images() { function current_v4_volta_home_is_unchanged (line 212) | fn current_v4_volta_home_is_unchanged() { FILE: tests/acceptance/run_shim_directly.rs function shows_pretty_error_when_calling_shim_directly (line 9) | fn shows_pretty_error_when_calling_shim_directly() { FILE: tests/acceptance/support/events_helpers.rs type EventKindMatcher (line 9) | pub enum EventKindMatcher<'a> { function match_start (line 17) | pub fn match_start() -> EventKindMatcher<'static> { function match_error (line 21) | pub fn match_error(exit_code: i32, error: &str) -> EventKindMatcher { function match_end (line 25) | pub fn match_end(exit_code: i32) -> EventKindMatcher<'static> { function match_tool_end (line 29) | pub fn match_tool_end(exit_code: i32) -> EventKindMatcher<'static> { function match_args (line 33) | pub fn match_args(argv: &str) -> EventKindMatcher { function assert_events (line 37) | pub fn assert_events(sandbox: &Sandbox, matchers: Vec<(&str, EventKindMa... FILE: tests/acceptance/support/sandbox.rs type CacheBuilder (line 18) | struct CacheBuilder { method new (line 27) | pub fn new(path: PathBuf, expiry_path: PathBuf, contents: &str, expire... method build (line 36) | fn build(&self) { method dirname (line 69) | fn dirname(&self) -> &Path { type EnvVar (line 75) | pub struct EnvVar { method new (line 81) | pub fn new(name: &str, value: &str) -> Self { type FileBuilder (line 91) | pub struct FileBuilder { method new (line 98) | pub fn new(path: PathBuf, contents: &str) -> FileBuilder { method make_executable (line 106) | pub fn make_executable(mut self) -> Self { method build (line 111) | pub fn build(&self) { method dirname (line 123) | fn dirname(&self) -> &Path { type ShimBuilder (line 128) | struct ShimBuilder { method new (line 133) | fn new(name: String) -> ShimBuilder { method build (line 137) | fn build(&self) { type PackageBinInfo (line 143) | pub struct PackageBinInfo { type SandboxBuilder (line 149) | pub struct SandboxBuilder { method root (line 300) | pub fn root(&self) -> PathBuf { method new (line 304) | pub fn new(root: PathBuf) -> SandboxBuilder { method node_cache (line 327) | pub fn node_cache(mut self, cache: &str, expired: bool) -> Self { method package_json (line 338) | pub fn package_json(mut self, contents: &str) -> Self { method platform (line 345) | pub fn platform(mut self, contents: &str) -> Self { method default_hooks (line 352) | pub fn default_hooks(mut self, contents: &str) -> Self { method layout_file (line 359) | pub fn layout_file(mut self, version: &str) -> Self { method env (line 364) | pub fn env(mut self, name: &str, value: &str) -> Self { method node_available_versions (line 370) | pub fn node_available_versions(mut self, body: &str) -> Self { method yarn_1_available_versions (line 382) | pub fn yarn_1_available_versions(mut self, body: &str) -> Self { method yarn_berry_available_versions (line 393) | pub fn yarn_berry_available_versions(mut self, body: &str) -> Self { method npm_available_versions (line 404) | pub fn npm_available_versions(mut self, body: &str) -> Self { method pnpm_available_versions (line 416) | pub fn pnpm_available_versions(mut self, body: &str) -> Self { method mock_not_found (line 430) | pub fn mock_not_found(mut self) -> Self { method distro_mock (line 436) | fn distro_mock(mut self, fx: &T) -> Self { method distro_mocks (line 470) | pub fn distro_mocks(self, fixtures: &[DistroMetadata... method file (line 479) | pub fn file(mut self, path: &str, contents: &str) -> Self { method project_file (line 486) | pub fn project_file(mut self, path: &str, contents: &str) -> Self { method executable_file (line 496) | pub fn executable_file(mut self, path: &str, contents: &str) -> Self { method prepend_exec_dir_to_path (line 509) | pub fn prepend_exec_dir_to_path(mut self) -> Self { method package_config (line 521) | pub fn package_config(mut self, name: &str, contents: &str) -> Self { method binary_config (line 529) | pub fn binary_config(mut self, name: &str, contents: &str) -> Self { method shim (line 536) | pub fn shim(mut self, name: &str) -> Self { method package_image (line 542) | pub fn package_image( method project_bins (line 571) | pub fn project_bins(mut self, bins: Vec) -> Self { method project_pnp (line 590) | pub fn project_pnp(mut self) -> Self { method setup_node_binary (line 597) | pub fn setup_node_binary( method setup_npm_binary (line 617) | pub fn setup_npm_binary(mut self, version: &str, contents: &str) -> Se... method setup_pnpm_binary (line 632) | pub fn setup_pnpm_binary(mut self, version: &str, contents: &str) -> S... method setup_yarn_binary (line 647) | pub fn setup_yarn_binary(mut self, version: &str, contents: &str) -> S... method node_npm_version_file (line 662) | pub fn node_npm_version_file(mut self, node_version: &str, npm_version... method add_dir_to_path (line 669) | pub fn add_dir_to_path(mut self, dir: PathBuf) -> Self { method add_exec_dir_to_path (line 675) | pub fn add_exec_dir_to_path(mut self) -> Self { method build (line 685) | pub fn build(mut self) -> Sandbox { method rm_root (line 723) | fn rm_root(&self) { type DistroFixture (line 158) | pub trait DistroFixture: From { method server_path (line 159) | fn server_path(&self) -> String; method fixture_path (line 160) | fn fixture_path(&self) -> String; method metadata (line 161) | fn metadata(&self) -> &DistroMetadata; method server_path (line 222) | fn server_path(&self) -> String { method fixture_path (line 228) | fn fixture_path(&self) -> String { method metadata (line 234) | fn metadata(&self) -> &DistroMetadata { method server_path (line 240) | fn server_path(&self) -> String { method fixture_path (line 244) | fn fixture_path(&self) -> String { method metadata (line 248) | fn metadata(&self) -> &DistroMetadata { method server_path (line 254) | fn server_path(&self) -> String { method fixture_path (line 258) | fn fixture_path(&self) -> String { method metadata (line 262) | fn metadata(&self) -> &DistroMetadata { method server_path (line 268) | fn server_path(&self) -> String { method fixture_path (line 272) | fn fixture_path(&self) -> String { method metadata (line 276) | fn metadata(&self) -> &DistroMetadata { method server_path (line 282) | fn server_path(&self) -> String { method fixture_path (line 289) | fn fixture_path(&self) -> String { method metadata (line 293) | fn metadata(&self) -> &DistroMetadata { type DistroMetadata (line 165) | pub struct DistroMetadata { type NodeFixture (line 171) | pub struct NodeFixture { method from (line 192) | fn from(metadata: DistroMetadata) -> Self { type NpmFixture (line 175) | pub struct NpmFixture { method from (line 198) | fn from(metadata: DistroMetadata) -> Self { type PnpmFixture (line 179) | pub struct PnpmFixture { method from (line 204) | fn from(metadata: DistroMetadata) -> Self { type Yarn1Fixture (line 183) | pub struct Yarn1Fixture { method from (line 210) | fn from(metadata: DistroMetadata) -> Self { type YarnBerryFixture (line 187) | pub struct YarnBerryFixture { method from (line 216) | fn from(metadata: DistroMetadata) -> Self { function home_dir (line 730) | fn home_dir() -> PathBuf { function volta_home (line 733) | fn volta_home() -> PathBuf { function volta_tmp_dir (line 736) | fn volta_tmp_dir() -> PathBuf { function volta_bin_dir (line 739) | fn volta_bin_dir() -> PathBuf { function volta_log_dir (line 742) | fn volta_log_dir() -> PathBuf { function volta_postscript (line 745) | fn volta_postscript() -> PathBuf { function volta_tools_dir (line 748) | fn volta_tools_dir() -> PathBuf { function inventory_dir (line 751) | fn inventory_dir() -> PathBuf { function user_dir (line 754) | fn user_dir() -> PathBuf { function image_dir (line 757) | fn image_dir() -> PathBuf { function node_inventory_dir (line 760) | fn node_inventory_dir() -> PathBuf { function pnpm_inventory_dir (line 763) | fn pnpm_inventory_dir() -> PathBuf { function yarn_inventory_dir (line 766) | fn yarn_inventory_dir() -> PathBuf { function package_inventory_dir (line 769) | fn package_inventory_dir() -> PathBuf { function cache_dir (line 772) | fn cache_dir() -> PathBuf { function node_cache_dir (line 775) | fn node_cache_dir() -> PathBuf { function node_index_file (line 779) | fn node_index_file() -> PathBuf { function node_index_expiry_file (line 783) | fn node_index_expiry_file() -> PathBuf { function package_json_file (line 786) | fn package_json_file(mut root: PathBuf) -> PathBuf { function package_config_file (line 790) | fn package_config_file(name: &str) -> PathBuf { function binary_config_file (line 793) | fn binary_config_file(name: &str) -> PathBuf { function shim_file (line 796) | fn shim_file(name: &str) -> PathBuf { function package_image_dir (line 799) | fn package_image_dir(name: &str) -> PathBuf { function node_image_dir (line 802) | fn node_image_dir(version: &str) -> PathBuf { function npm_image_dir (line 805) | fn npm_image_dir(version: &str) -> PathBuf { function pnpm_image_dir (line 808) | fn pnpm_image_dir(version: &str) -> PathBuf { function yarn_image_dir (line 811) | fn yarn_image_dir(version: &str) -> PathBuf { function default_platform_file (line 814) | fn default_platform_file() -> PathBuf { function default_hooks_file (line 817) | fn default_hooks_file() -> PathBuf { function layout_file (line 820) | fn layout_file(version: &str) -> PathBuf { function node_npm_version_file (line 823) | fn node_npm_version_file(node_version: &str) -> PathBuf { function sandbox_path (line 827) | fn sandbox_path(path: &str) -> PathBuf { type Sandbox (line 831) | pub struct Sandbox { method root (line 841) | pub fn root(&self) -> PathBuf { method process (line 851) | pub fn process>(&self, program: T) -> ProcessBuilder { method volta (line 878) | pub fn volta(&self, cmd: &str) -> ProcessBuilder { method npm (line 888) | pub fn npm(&self, cmd: &str) -> ProcessBuilder { method pnpm (line 896) | pub fn pnpm(&self, cmd: &str) -> ProcessBuilder { method yarn (line 904) | pub fn yarn(&self, cmd: &str) -> ProcessBuilder { method exec_shim (line 912) | pub fn exec_shim(&self, bin: &str, cmd: &str) -> ProcessBuilder { method read_package_json (line 918) | pub fn read_package_json(&self) -> String { method read_log_dir (line 923) | pub fn read_log_dir(&self) -> Option { method remove_volta_home (line 927) | pub fn remove_volta_home(&self) { method node_inventory_archive_exists (line 933) | pub fn node_inventory_archive_exists(&self, version: &Version) -> bool { method pnpm_inventory_archive_exists (line 939) | pub fn pnpm_inventory_archive_exists(&self, version: &str) -> bool { method yarn_inventory_archive_exists (line 945) | pub fn yarn_inventory_archive_exists(&self, version: &str) -> bool { method package_config_exists (line 951) | pub fn package_config_exists(name: &str) -> bool { method bin_config_exists (line 954) | pub fn bin_config_exists(name: &str) -> bool { method shim_exists (line 957) | pub fn shim_exists(name: &str) -> bool { method path_exists (line 960) | pub fn path_exists(path: &str) -> bool { method package_image_exists (line 963) | pub fn package_image_exists(name: &str) -> bool { method read_default_platform (line 967) | pub fn read_default_platform() -> String { method drop (line 973) | fn drop(&mut self) { function sandbox (line 979) | pub fn sandbox() -> SandboxBuilder { function cargo_dir (line 984) | pub fn cargo_dir() -> PathBuf { function volta_exe (line 999) | fn volta_exe() -> PathBuf { function shim_exe (line 1003) | pub fn shim_exe() -> PathBuf { function split_and_add_args (line 1007) | fn split_and_add_args(p: &mut ProcessBuilder, s: &str) { function read_file_to_string (line 1016) | fn read_file_to_string(file_path: PathBuf) -> String { FILE: tests/acceptance/verbose_errors.rs constant NODE_VERSION_INFO (line 9) | const NODE_VERSION_INFO: &str = r#"[ function no_cause_shown_if_no_verbose_flag (line 18) | fn no_cause_shown_if_no_verbose_flag() { function cause_shown_if_verbose_flag (line 33) | fn cause_shown_if_verbose_flag() { function no_cause_if_no_underlying_error (line 48) | fn no_cause_if_no_underlying_error() { function error_log_if_underlying_cause (line 60) | fn error_log_if_underlying_cause() { function no_error_log_if_no_underlying_cause (line 78) | fn no_error_log_if_no_underlying_cause() { function cause_shown_in_ci (line 95) | fn cause_shown_in_ci() { function no_error_log_in_ci (line 116) | fn no_error_log_in_ci() { FILE: tests/acceptance/volta_bypass.rs function shim_skips_platform_checks_on_bypass (line 9) | fn shim_skips_platform_checks_on_bypass() { FILE: tests/acceptance/volta_install.rs function platform_with_node (line 11) | fn platform_with_node(node: &str) -> String { function platform_with_node_npm (line 25) | fn platform_with_node_npm(node: &str, npm: &str) -> String { constant NODE_VERSION_INFO (line 39) | const NODE_VERSION_INFO: &str = r#"[ constant YARN_1_VERSION_INFO (line 122) | const YARN_1_VERSION_INFO: &str = r#"[ constant YARN_1_VERSION_FIXTURES (line 130) | const YARN_1_VERSION_FIXTURES: [DistroMetadata; 4] = [ constant YARN_BERRY_VERSION_INFO (line 153) | const YARN_BERRY_VERSION_INFO: &str = r#"{ constant YARN_BERRY_VERSION_FIXTURES (line 164) | const YARN_BERRY_VERSION_FIXTURES: [DistroMetadata; 4] = [ constant PNPM_VERSION_INFO (line 187) | const PNPM_VERSION_INFO: &str = r#" constant PNPM_VERSION_FIXTURES (line 199) | const PNPM_VERSION_FIXTURES: [DistroMetadata; 3] = [ constant NPM_VERSION_INFO (line 217) | const NPM_VERSION_INFO: &str = r#" constant NPM_VERSION_FIXTURES (line 229) | const NPM_VERSION_FIXTURES: [DistroMetadata; 3] = [ function install_node_informs_newer_npm (line 248) | fn install_node_informs_newer_npm() { function install_node_with_npm_hides_bundled_version (line 266) | fn install_node_with_npm_hides_bundled_version() { function install_npm_bundled_clears_npm (line 283) | fn install_npm_bundled_clears_npm() { function install_npm_bundled_reports_info (line 301) | fn install_npm_bundled_reports_info() { function install_npm_without_node_errors (line 317) | fn install_npm_without_node_errors() { function install_pnpm_without_node_errors (line 334) | fn install_pnpm_without_node_errors() { function install_yarn_without_node_errors (line 352) | fn install_yarn_without_node_errors() { function install_yarn_3_without_node_errors (line 369) | fn install_yarn_3_without_node_errors() { function install_node_with_shadowed_binary (line 388) | fn install_node_with_shadowed_binary() { FILE: tests/acceptance/volta_pin.rs constant BASIC_PACKAGE_JSON (line 10) | const BASIC_PACKAGE_JSON: &str = r#"{ constant PACKAGE_JSON_WITH_EMPTY_LINE (line 13) | const PACKAGE_JSON_WITH_EMPTY_LINE: &str = r#"{ constant PACKAGE_JSON_WITH_EXTENDS (line 17) | const PACKAGE_JSON_WITH_EXTENDS: &str = r#"{ function package_json_with_pinned_node (line 25) | fn package_json_with_pinned_node(node: &str) -> String { function package_json_with_pinned_node_npm (line 37) | fn package_json_with_pinned_node_npm(node: &str, npm: &str) -> String { function package_json_with_pinned_node_pnpm (line 50) | fn package_json_with_pinned_node_pnpm(node_version: &str, pnpm_version: ... function package_json_with_pinned_node_npm_pnpm (line 63) | fn package_json_with_pinned_node_npm_pnpm( function package_json_with_pinned_node_yarn (line 81) | fn package_json_with_pinned_node_yarn(node_version: &str, yarn_version: ... function package_json_with_pinned_node_npm_yarn (line 94) | fn package_json_with_pinned_node_npm_yarn( constant NODE_VERSION_INFO (line 112) | const NODE_VERSION_INFO: &str = r#"[ constant YARN_1_VERSION_INFO (line 195) | const YARN_1_VERSION_INFO: &str = r#"{ constant YARN_BERRY_VERSION_INFO (line 206) | const YARN_BERRY_VERSION_INFO: &str = r#"{ constant YARN_1_VERSION_FIXTURES (line 217) | const YARN_1_VERSION_FIXTURES: [DistroMetadata; 4] = [ constant YARN_BERRY_VERSION_FIXTURES (line 240) | const YARN_BERRY_VERSION_FIXTURES: [DistroMetadata; 4] = [ constant PNPM_VERSION_INFO (line 263) | const PNPM_VERSION_INFO: &str = r#" constant PNPM_VERSION_FIXTURES (line 275) | const PNPM_VERSION_FIXTURES: [DistroMetadata; 3] = [ constant NPM_VERSION_FIXTURES (line 293) | const NPM_VERSION_FIXTURES: [DistroMetadata; 3] = [ constant NPM_VERSION_INFO (line 311) | const NPM_VERSION_INFO: &str = r#" constant VOLTA_LOGLEVEL (line 323) | const VOLTA_LOGLEVEL: &str = "VOLTA_LOGLEVEL"; function pin_node (line 326) | fn pin_node() { function pin_node_reports_info (line 345) | fn pin_node_reports_info() { function pin_node_latest (line 362) | fn pin_node_latest() { function pin_node_no_version (line 381) | fn pin_node_no_version() { function pin_node_informs_newer_npm (line 400) | fn pin_node_informs_newer_npm() { function pin_node_with_npm_hides_bundled_version (line 418) | fn pin_node_with_npm_hides_bundled_version() { function pin_yarn_no_node (line 435) | fn pin_yarn_no_node() { function pin_yarn_1 (line 456) | fn pin_yarn_1() { function pin_yarn_2_is_error (line 476) | fn pin_yarn_2_is_error() { function pin_yarn_3 (line 501) | fn pin_yarn_3() { function pin_yarn_reports_info (line 522) | fn pin_yarn_reports_info() { function pin_yarn_latest (line 540) | fn pin_yarn_latest() { function pin_yarn_1_no_version (line 561) | fn pin_yarn_1_no_version() { function pin_yarn_3_no_version (line 582) | fn pin_yarn_3_no_version() { function pin_yarn_no_version (line 603) | fn pin_yarn_no_version() { function pin_yarn_1_missing_release (line 624) | fn pin_yarn_1_missing_release() { function pin_yarn_1_missing_release_v2 (line 644) | fn pin_yarn_1_missing_release_v2() { function pin_yarn_3_missing_release (line 664) | fn pin_yarn_3_missing_release() { function pin_yarn_3_missing_release_v2 (line 684) | fn pin_yarn_3_missing_release_v2() { function pin_yarn_leaves_npm (line 704) | fn pin_yarn_leaves_npm() { function pin_npm_no_node (line 724) | fn pin_npm_no_node() { function pin_npm (line 744) | fn pin_npm() { function pin_npm_reports_info (line 763) | fn pin_npm_reports_info() { function pin_npm_latest (line 780) | fn pin_npm_latest() { function pin_npm_no_version (line 799) | fn pin_npm_no_version() { function pin_npm_missing_release (line 818) | fn pin_npm_missing_release() { function pin_npm_bundled_removes_npm (line 838) | fn pin_npm_bundled_removes_npm() { function pin_npm_bundled_reports_info (line 856) | fn pin_npm_bundled_reports_info() { function pin_node_and_yarn1 (line 872) | fn pin_node_and_yarn1() { function pin_node_and_yarn3 (line 894) | fn pin_node_and_yarn3() { function pin_node_does_not_remove_trailing_newline (line 917) | fn pin_node_does_not_remove_trailing_newline() { function pin_node_does_not_overwrite_extends (line 933) | fn pin_node_does_not_overwrite_extends() { function pin_pnpm_no_node (line 952) | fn pin_pnpm_no_node() { function pin_pnpm (line 973) | fn pin_pnpm() { function pin_pnpm_reports_info (line 993) | fn pin_pnpm_reports_info() { function pin_pnpm_latest (line 1011) | fn pin_pnpm_latest() { function pin_pnpm_no_version (line 1031) | fn pin_pnpm_no_version() { function pin_pnpm_missing_release (line 1051) | fn pin_pnpm_missing_release() { function pin_node_and_pnpm (line 1072) | fn pin_node_and_pnpm() { function pin_pnpm_leaves_npm (line 1094) | fn pin_pnpm_leaves_npm() { FILE: tests/acceptance/volta_run.rs function package_json_with_pinned_node (line 10) | fn package_json_with_pinned_node(node: &str) -> String { function package_json_with_pinned_node_npm (line 22) | fn package_json_with_pinned_node_npm(node: &str, npm: &str) -> String { function package_json_with_pinned_node_pnpm (line 35) | fn package_json_with_pinned_node_pnpm(node_version: &str, pnpm_version: ... function package_json_with_pinned_node_yarn (line 48) | fn package_json_with_pinned_node_yarn(node_version: &str, yarn_version: ... constant NODE_VERSION_INFO (line 61) | const NODE_VERSION_INFO: &str = r#"[ constant PNPM_VERSION_INFO (line 144) | const PNPM_VERSION_INFO: &str = r#" constant PNPM_VERSION_FIXTURES (line 155) | const PNPM_VERSION_FIXTURES: [DistroMetadata; 2] = [ constant YARN_1_VERSION_INFO (line 168) | const YARN_1_VERSION_INFO: &str = r#"{ constant YARN_1_VERSION_FIXTURES (line 179) | const YARN_1_VERSION_FIXTURES: [DistroMetadata; 4] = [ constant YARN_BERRY_VERSION_INFO (line 202) | const YARN_BERRY_VERSION_INFO: &str = r#"{ constant YARN_BERRY_VERSION_FIXTURES (line 213) | const YARN_BERRY_VERSION_FIXTURES: [DistroMetadata; 4] = [ constant NPM_VERSION_FIXTURES (line 236) | const NPM_VERSION_FIXTURES: [DistroMetadata; 3] = [ constant NPM_VERSION_INFO (line 254) | const NPM_VERSION_INFO: &str = r#" constant VOLTA_LOGLEVEL (line 266) | const VOLTA_LOGLEVEL: &str = "VOLTA_LOGLEVEL"; function command_line_node (line 269) | fn command_line_node() { function inherited_node (line 285) | fn inherited_node() { function command_line_npm (line 302) | fn command_line_npm() { function inherited_npm (line 320) | fn inherited_npm() { function force_bundled_npm (line 339) | fn force_bundled_npm() { function command_line_yarn_1 (line 358) | fn command_line_yarn_1() { function command_line_yarn_3 (line 382) | fn command_line_yarn_3() { function inherited_yarn_1 (line 402) | fn inherited_yarn_1() { function inherited_yarn_3 (line 421) | fn inherited_yarn_3() { function force_no_yarn (line 442) | fn force_no_yarn() { function command_line_pnpm (line 461) | fn command_line_pnpm() { function inherited_pnpm (line 480) | fn inherited_pnpm() { function force_no_pnpm (line 500) | fn force_no_pnpm() { FILE: tests/acceptance/volta_uninstall.rs constant PKG_CONFIG_BASIC (line 8) | const PKG_CONFIG_BASIC: &str = r#"{ constant PKG_CONFIG_NO_BINS (line 23) | const PKG_CONFIG_NO_BINS: &str = r#"{ function bin_config (line 35) | fn bin_config(name: &str) -> String { constant VOLTA_LOGLEVEL (line 52) | const VOLTA_LOGLEVEL: &str = "VOLTA_LOGLEVEL"; function uninstall_nonexistent_pkg (line 55) | fn uninstall_nonexistent_pkg() { function uninstall_package_basic (line 68) | fn uninstall_package_basic() { function uninstall_package_basic_with_version (line 102) | fn uninstall_package_basic_with_version() { function uninstall_package_no_bins (line 124) | fn uninstall_package_no_bins() { function uninstall_package_no_image (line 150) | fn uninstall_package_no_image() { function uninstall_package_orphaned_bins (line 181) | fn uninstall_package_orphaned_bins() { function uninstall_runtime (line 209) | fn uninstall_runtime() { FILE: tests/smoke/autodownload.rs function autodownload_node (line 39) | fn autodownload_node() { function autodownload_npm (line 51) | fn autodownload_npm() { function autodownload_yarn_1 (line 63) | fn autodownload_yarn_1() { function autodownload_yarn_3 (line 75) | fn autodownload_yarn_3() { FILE: tests/smoke/direct_install.rs function npm_global_install (line 7) | fn npm_global_install() { function yarn_global_add (line 46) | fn yarn_global_add() { FILE: tests/smoke/direct_upgrade.rs function npm_global_update (line 8) | fn npm_global_update() { function yarn_global_update (line 50) | fn yarn_global_update() { FILE: tests/smoke/npm_link.rs constant PACKAGE_JSON (line 6) | const PACKAGE_JSON: &str = r#" constant INDEX_JS (line 15) | const INDEX_JS: &str = r#"#!/usr/bin/env node function link_unlink_local_project (line 21) | fn link_unlink_local_project() { function link_global_into_current_project (line 48) | fn link_global_into_current_project() { FILE: tests/smoke/package_migration.rs constant LEGACY_PACKAGE_CONFIG (line 7) | const LEGACY_PACKAGE_CONFIG: &str = r#"{ constant LEGACY_BIN_CONFIG (line 23) | const LEGACY_BIN_CONFIG: &str = r#"{ constant COWSAY_HELLO (line 41) | const COWSAY_HELLO: &str = r#" _______ function legacy_package_upgrade (line 51) | fn legacy_package_upgrade() { FILE: tests/smoke/support/temp_project.rs type FileBuilder (line 14) | pub struct FileBuilder { method new (line 20) | pub fn new(path: PathBuf, contents: &str) -> FileBuilder { method build (line 27) | pub fn build(&self) { method dirname (line 36) | fn dirname(&self) -> &Path { type EnvVar (line 41) | pub struct EnvVar { method new (line 47) | pub fn new(name: &str, value: &str) -> Self { type TempProjectBuilder (line 56) | pub struct TempProjectBuilder { method root (line 63) | pub fn root(&self) -> PathBuf { method new (line 67) | pub fn new(root: PathBuf) -> TempProjectBuilder { method package_json (line 79) | pub fn package_json(mut self, contents: &str) -> Self { method project_file (line 86) | pub fn project_file(mut self, path: &str, contents: &str) -> Self { method volta_home_file (line 93) | pub fn volta_home_file(mut self, path: &str, contents: &str) -> Self { method env (line 100) | pub fn env(mut self, name: &str, value: &str) -> Self { method build (line 106) | pub fn build(mut self) -> TempProject { method rm_root (line 153) | fn rm_root(&self) { function home_dir (line 160) | fn home_dir(root: PathBuf) -> PathBuf { function volta_home (line 163) | fn volta_home(root: PathBuf) -> PathBuf { function volta_file (line 166) | fn volta_file(root: PathBuf) -> PathBuf { function shim_executable (line 169) | fn shim_executable(root: PathBuf) -> PathBuf { function default_hooks_file (line 172) | fn default_hooks_file(root: PathBuf) -> PathBuf { function volta_tmp_dir (line 175) | fn volta_tmp_dir(root: PathBuf) -> PathBuf { function volta_bin_dir (line 178) | fn volta_bin_dir(root: PathBuf) -> PathBuf { function volta_tools_dir (line 181) | fn volta_tools_dir(root: PathBuf) -> PathBuf { function inventory_dir (line 184) | fn inventory_dir(root: PathBuf) -> PathBuf { function default_toolchain_dir (line 187) | fn default_toolchain_dir(root: PathBuf) -> PathBuf { function image_dir (line 190) | fn image_dir(root: PathBuf) -> PathBuf { function node_image_root_dir (line 193) | fn node_image_root_dir(root: PathBuf) -> PathBuf { function node_image_dir (line 196) | fn node_image_dir(node: &str, root: PathBuf) -> PathBuf { function node_image_bin_dir (line 199) | fn node_image_bin_dir(node: &str, root: PathBuf) -> PathBuf { function npm_image_root_dir (line 202) | fn npm_image_root_dir(root: PathBuf) -> PathBuf { function npm_image_dir (line 205) | fn npm_image_dir(version: &str, root: PathBuf) -> PathBuf { function npm_image_bin_dir (line 208) | fn npm_image_bin_dir(version: &str, root: PathBuf) -> PathBuf { function yarn_image_root_dir (line 211) | fn yarn_image_root_dir(root: PathBuf) -> PathBuf { function yarn_image_dir (line 214) | fn yarn_image_dir(version: &str, root: PathBuf) -> PathBuf { function package_image_root_dir (line 217) | fn package_image_root_dir(root: PathBuf) -> PathBuf { function node_inventory_dir (line 220) | fn node_inventory_dir(root: PathBuf) -> PathBuf { function npm_inventory_dir (line 223) | fn npm_inventory_dir(root: PathBuf) -> PathBuf { function yarn_inventory_dir (line 226) | fn yarn_inventory_dir(root: PathBuf) -> PathBuf { function package_inventory_dir (line 229) | fn package_inventory_dir(root: PathBuf) -> PathBuf { function cache_dir (line 232) | fn cache_dir(root: PathBuf) -> PathBuf { function node_cache_dir (line 235) | fn node_cache_dir(root: PathBuf) -> PathBuf { function package_json_file (line 238) | fn package_json_file(mut root: PathBuf) -> PathBuf { function shim_file (line 242) | fn shim_file(name: &str, root: PathBuf) -> PathBuf { function package_image_dir (line 245) | fn package_image_dir(name: &str, root: PathBuf) -> PathBuf { function default_platform_file (line 248) | fn default_platform_file(root: PathBuf) -> PathBuf { function node_distro_file_name (line 251) | pub fn node_distro_file_name(version: &str) -> String { function npm_distro_file_name (line 255) | fn npm_distro_file_name(version: &str) -> String { function yarn_distro_file_name (line 258) | fn yarn_distro_file_name(version: &str) -> String { function package_distro_file_name (line 261) | fn package_distro_file_name(name: &str, version: &str) -> String { type TempProject (line 265) | pub struct TempProject { method root (line 273) | pub fn root(&self) -> PathBuf { method process (line 283) | pub fn process>(&self, program: T) -> ProcessBuilder { method volta (line 306) | pub fn volta(&self, cmd: &str) -> ProcessBuilder { method node (line 313) | pub fn node(&self, cmd: &str) -> ProcessBuilder { method node_exe (line 319) | pub fn node_exe(&self) -> PathBuf { method yarn (line 324) | pub fn yarn(&self, cmd: &str) -> ProcessBuilder { method yarn_exe (line 330) | pub fn yarn_exe(&self) -> PathBuf { method npm (line 335) | pub fn npm(&self, cmd: &str) -> ProcessBuilder { method npm_exe (line 341) | pub fn npm_exe(&self) -> PathBuf { method exec_shim (line 346) | pub fn exec_shim(&self, exe: &str, cmd: &str) -> ProcessBuilder { method node_version_is_fetched (line 354) | pub fn node_version_is_fetched(&self, version: &str) -> bool { method node_version_is_unpacked (line 361) | pub fn node_version_is_unpacked(&self, version: &str) -> bool { method assert_node_version_is_installed (line 367) | pub fn assert_node_version_is_installed(&self, version: &str) -> () { method yarn_version_is_fetched (line 376) | pub fn yarn_version_is_fetched(&self, version: &str) -> bool { method yarn_version_is_unpacked (line 383) | pub fn yarn_version_is_unpacked(&self, version: &str) -> bool { method assert_yarn_version_is_installed (line 389) | pub fn assert_yarn_version_is_installed(&self, version: &str) -> () { method npm_version_is_fetched (line 398) | pub fn npm_version_is_fetched(&self, version: &str) -> bool { method npm_version_is_unpacked (line 405) | pub fn npm_version_is_unpacked(&self, version: &str) -> bool { method assert_npm_version_is_installed (line 410) | pub fn assert_npm_version_is_installed(&self, version: &str) -> () { method package_is_installed (line 419) | pub fn package_is_installed(&self, name: &str) -> bool { method shim_exists (line 425) | pub fn shim_exists(&self, name: &str) -> bool { method project_path_exists (line 430) | pub fn project_path_exists(&self, path: &str) -> bool { method drop (line 436) | fn drop(&mut self) { function temp_project (line 442) | pub fn temp_project() -> TempProjectBuilder { function cargo_dir (line 447) | pub fn cargo_dir() -> PathBuf { function volta_exe (line 462) | fn volta_exe() -> PathBuf { function shim_exe (line 466) | fn shim_exe() -> PathBuf { function split_and_add_args (line 470) | fn split_and_add_args(p: &mut ProcessBuilder, s: &str) { function read_file_to_string (line 479) | fn read_file_to_string(file_path: PathBuf) -> String { FILE: tests/smoke/volta_fetch.rs function fetch_node (line 8) | fn fetch_node() { function fetch_yarn_1 (line 17) | fn fetch_yarn_1() { function fetch_yarn_3 (line 26) | fn fetch_yarn_3() { function fetch_npm (line 35) | fn fetch_npm() { FILE: tests/smoke/volta_install.rs function install_node (line 9) | fn install_node() { function install_node_lts (line 25) | fn install_node_lts() { function install_node_concurrent (line 34) | fn install_node_concurrent() { function install_yarn (line 52) | fn install_yarn() { function install_old_yarn (line 69) | fn install_old_yarn() { function install_yarn_concurrent (line 87) | fn install_yarn_concurrent() { function install_npm (line 107) | fn install_npm() { function install_npm_concurrent (line 130) | fn install_npm_concurrent() { constant COWSAY_HELLO (line 149) | const COWSAY_HELLO: &'static str = r#" _______ function install_package (line 159) | fn install_package() { function install_package_concurrent (line 176) | fn install_package_concurrent() { function install_scoped_package (line 196) | fn install_scoped_package() { function install_package_tag_version (line 213) | fn install_package_tag_version() { FILE: tests/smoke/volta_run.rs constant PACKAGE_JSON (line 8) | const PACKAGE_JSON: &str = r#"{ function run_node (line 18) | fn run_node() { function run_npm (line 28) | fn run_npm() { function run_yarn_1 (line 38) | fn run_yarn_1() { function run_yarn_3 (line 48) | fn run_yarn_3() { function inherits_project_platform (line 58) | fn inherits_project_platform() { function run_environment (line 68) | fn run_environment() {