SYMBOL INDEX (389 symbols across 75 files) FILE: .ci/prepare-version.js constant CARGO_TOML_PATH (line 11) | const CARGO_TOML_PATH = new URL("../Cargo.toml", import.meta.url).pathname method handler (line 17) | async handler({}) { function getPackageVersion (line 34) | async function getPackageVersion() { function updateCargoToml (line 44) | function updateCargoToml(nextVersion) { function exec (line 65) | function exec(command, env) { FILE: .ci/print-command-docs.js method defaultValue (line 12) | defaultValue() { method handler (line 37) | async handler({ checkForDirty, fnmPath }) { function main (line 65) | async function main(targetFile, fnmPath) { function write (line 87) | function write(stream, content) { function line (line 93) | function line(cmd, text) { function getCommandHelp (line 104) | async function getCommandHelp(fnmPath, command) { function run (line 133) | function run(fnmPath, args) { function checkGitStatus (line 145) | async function checkGitStatus(targetFile) { FILE: .ci/type-letters.js function sleep (line 11) | function sleep(ms) { FILE: benchmarks/run.mjs method handler (line 68) | async handler({ serverUrl, githubToken, shouldStore }) { function round (line 227) | function round(number, digits) { function getFilesize (line 237) | async function getFilesize() { function runHyperfine (line 243) | async function runHyperfine() { FILE: build.rs function main (line 1) | fn main() { FILE: e2e/describe.ts function describe (line 4) | function describe( FILE: e2e/shellcode/get-stderr.ts function getStderr (line 1) | function getStderr(script: string): string { FILE: e2e/shellcode/script.ts class Script (line 13) | class Script { method constructor (line 14) | constructor( method then (line 21) | then(line: ScriptLine): Script { method takeSnapshot (line 25) | takeSnapshot(shell: Pick): this { method addExtraEnvVar (line 32) | addExtraEnvVar(name: string, value: string): this { method execute (line 40) | async execute( method asLine (line 117) | asLine(): ScriptLine { function streamOutputsAndBuffer (line 122) | function streamOutputsAndBuffer(child: ExecaChildProcess) { function padAllLines (line 154) | function padAllLines(text: string, padding: number): string { function write (line 161) | function write(writable: Writable, text: string): Promise { function script (line 170) | function script(shell: Pick): Script { function removeAllFnmEnvVars (line 176) | function removeAllFnmEnvVars(obj: NodeJS.ProcessEnv): NodeJS.ProcessEnv { function fnmTargetDir (line 186) | function fnmTargetDir(): string { FILE: e2e/shellcode/shells/cmdCall.ts type HasCall (line 3) | type HasCall = { FILE: e2e/shellcode/shells/cmdEnv.ts type EnvConfig (line 3) | type EnvConfig = { type HasEnv (line 11) | type HasEnv = { env(cfg: Partial): ScriptLine } function stringify (line 13) | function stringify(envConfig: Partial = {}) { FILE: e2e/shellcode/shells/expect-command-output.ts type HasExpectCommandOutput (line 4) | type HasExpectCommandOutput = { method hasCommandOutput (line 14) | hasCommandOutput(script, output, message) { method hasCommandOutput (line 24) | hasCommandOutput(script, output, message) { method hasCommandOutput (line 35) | hasCommandOutput(script, output, message) { method hasCommandOutput (line 42) | hasCommandOutput(script, output, message) { FILE: e2e/shellcode/shells/output-contains.ts type HasOutputContains (line 3) | type HasOutputContains = { FILE: e2e/shellcode/shells/redirect-output.ts type RedirectOutputOpts (line 3) | type RedirectOutputOpts = { output: string } type HasRedirectOutput (line 4) | type HasRedirectOutput = { FILE: e2e/shellcode/shells/sub-shell.ts type HasInSubShell (line 4) | type HasInSubShell = { inSubShell: (script: ScriptLine) => ScriptLine } FILE: e2e/shellcode/shells/types.ts type Shell (line 1) | type Shell = { type ScriptLine (line 11) | type ScriptLine = string function define (line 13) | function define(s: S): S { FILE: e2e/shellcode/test-bin-dir.ts function testBinDir (line 5) | function testBinDir() { FILE: e2e/shellcode/test-cwd.ts function testCwd (line 5) | function testCwd() { FILE: e2e/shellcode/test-node-version.ts function testNodeVersion (line 5) | function testNodeVersion< FILE: e2e/shellcode/test-tmp-dir.ts function testTmpDir (line 5) | function testTmpDir(): string { FILE: e2e/system-node.test.ts function writeCustomNode (line 46) | async function writeCustomNode() { FILE: src/alias.rs function create_alias (line 8) | pub fn create_alias( function list_aliases (line 25) | pub fn list_aliases(config: &FnmConfig) -> std::io::Result Option... type StoredAlias (line 39) | pub struct StoredAlias { method s_ver (line 62) | pub fn s_ver(&self) -> &str { method name (line 76) | pub fn name(&self) -> &str { method path (line 84) | pub fn path(&self) -> &std::path::Path { type Error (line 45) | type Error = std::io::Error; function try_into (line 47) | fn try_into(self) -> Result { FILE: src/arch.rs type Arch (line 4) | pub enum Arch { method as_str (line 17) | pub fn as_str(self) -> &'static str { type Err (line 59) | type Err = ArchError; method from_str (line 60) | fn from_str(s: &str) -> Result { method fmt (line 77) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function get_safe_arch (line 34) | pub fn get_safe_arch(arch: Arch, version: &Version) -> Arch { function get_safe_arch (line 45) | pub fn get_safe_arch(arch: Arch, _version: &Version) -> Arch { method default (line 50) | fn default() -> Arch { type ArchError (line 83) | pub struct ArchError { method new (line 88) | fn new(msg: String) -> ArchError { method fmt (line 94) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method description (line 100) | fn description(&self) -> &str { FILE: src/archive/extract.rs type Error (line 5) | pub enum Error { method fmt (line 12) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method from (line 24) | fn from(err: std::io::Error) -> Self { method from (line 30) | fn from(err: zip::result::ZipError) -> Self { method from (line 36) | fn from(err: crate::http::Error) -> Self { type Extract (line 41) | pub trait Extract { method extract_into (line 42) | fn extract_into(self: Box, path: &Path) -> Result<(), Error>; FILE: src/archive/mod.rs type Archive (line 15) | pub enum Archive { method extract_archive_into (line 25) | pub fn extract_archive_into(&self, path: &Path, response: impl Read) -... method file_extension (line 38) | pub fn file_extension(&self) -> &'static str { method supported (line 50) | pub fn supported() -> &'static [Self] { method supported (line 55) | pub fn supported() -> &'static [Self] { FILE: src/archive/tar.rs type Tar (line 4) | pub enum Tar { function extract_into_impl (line 12) | fn extract_into_impl>(self, path: P) -> Result<(), Error> { method extract_into (line 24) | fn extract_into(self: Box, path: &Path) -> Result<(), Error> { FILE: src/archive/zip.rs type Zip (line 9) | pub struct Zip { function new (line 15) | pub fn new(response: R) -> Self { method extract_into (line 21) | fn extract_into(mut self: Box, path: &Path) -> Result<(), Error> { function test_zip_extraction (line 87) | fn test_zip_extraction() { FILE: src/choose_version_for_user_input.rs type ApplicableVersion (line 13) | pub struct ApplicableVersion { method path (line 19) | pub fn path(&self) -> &Path { method version (line 23) | pub fn version(&self) -> &Version { function choose_version_for_user_input (line 28) | pub fn choose_version_for_user_input<'a>( type Error (line 88) | pub enum Error { FILE: src/cli.rs type SubCommand (line 7) | pub enum SubCommand { method call (line 75) | pub fn call(self, config: FnmConfig) { type Cli (line 96) | pub struct Cli { function parse (line 103) | pub fn parse() -> Cli { FILE: src/commands/alias.rs type Alias (line 11) | pub struct Alias { type Error (line 17) | type Error = Error; method apply (line 19) | fn apply(self, config: &FnmConfig) -> Result<(), Self::Error> { type Error (line 34) | pub enum Error { FILE: src/commands/command.rs type Command (line 5) | pub trait Command: Sized { method apply (line 7) | fn apply(self, config: &FnmConfig) -> Result<(), Self::Error>; method handle_error (line 9) | fn handle_error(err: Self::Error, config: &FnmConfig) { method call (line 15) | fn call(self, config: FnmConfig) { FILE: src/commands/completions.rs type Completions (line 10) | pub struct Completions { type Error (line 17) | type Error = Error; method apply (line 19) | fn apply(self, _config: &FnmConfig) -> Result<(), Self::Error> { type Error (line 35) | pub enum Error { function shells_as_string (line 46) | fn shells_as_string() -> String { function test_smoke (line 60) | fn test_smoke() { FILE: src/commands/current.rs type Current (line 6) | pub struct Current {} type Error (line 9) | type Error = Error; method apply (line 11) | fn apply(self, config: &FnmConfig) -> Result<(), Self::Error> { FILE: src/commands/default.rs type Default (line 8) | pub struct Default { type Error (line 13) | type Error = super::alias::Error; method apply (line 15) | fn apply(self, config: &FnmConfig) -> Result<(), Self::Error> { method handle_error (line 32) | fn handle_error(err: Self::Error, config: &FnmConfig) { FILE: src/commands/env.rs type Env (line 16) | pub struct Env { function generate_symlink_path (line 31) | fn generate_symlink_path() -> String { function make_symlink (line 39) | fn make_symlink(config: &FnmConfig) -> Result { function bool_as_str (line 54) | fn bool_as_str(value: bool) -> &'static str { function set_path_for_multishell (line 62) | fn set_path_for_multishell(multishell_path: &std::path::Path) { type Error (line 80) | type Error = Error; method apply (line 82) | fn apply(self, config: &FnmConfig) -> Result<(), Self::Error> { type Error (line 174) | pub enum Error { function shells_as_string (line 196) | fn shells_as_string() -> String { function test_smoke (line 209) | fn test_smoke() { FILE: src/commands/exec.rs type Exec (line 15) | pub struct Exec { method new_for_version (line 27) | pub(crate) fn new_for_version( type Error (line 46) | type Error = Error; method apply (line 48) | fn apply(self, config: &FnmConfig) -> Result<(), Self::Error> { type Error (line 113) | pub enum Error { FILE: src/commands/install.rs type Install (line 20) | pub struct Install { method version (line 44) | fn version(self) -> Result, Error> { type Error (line 70) | type Error = Error; method apply (line 72) | fn apply(self, config: &FnmConfig) -> Result<(), Self::Error> { function tag_alias (line 183) | fn tag_alias(config: &FnmConfig, matched_version: &Version, alias: &Vers... function enable_corepack (line 195) | fn enable_corepack(version: &Version, config: &FnmConfig) -> Result<(), ... function use_installed_version (line 208) | fn use_installed_version(version: &Version, config: &FnmConfig) -> Resul... type Error (line 225) | pub enum Error { function test_set_default_on_new_installation (line 268) | fn test_set_default_on_new_installation() { function test_install_latest (line 296) | fn test_install_latest() { FILE: src/commands/ls_local.rs type LsLocal (line 10) | pub struct LsLocal {} type Error (line 13) | type Error = Error; method apply (line 15) | fn apply(self, config: &FnmConfig) -> Result<(), Self::Error> { function generate_aliases_hash (line 50) | fn generate_aliases_hash(config: &FnmConfig) -> std::io::Result Result<(), Self::Error> { type SortingMethod (line 32) | pub enum SortingMethod { function truncate_except_latest (line 42) | fn truncate_except_latest(list: &mut Vec) { type Error (line 97) | pub enum Error { function test_truncate_except_latest (line 110) | fn test_truncate_except_latest() { FILE: src/commands/unalias.rs type Unalias (line 9) | pub struct Unalias { type Error (line 14) | type Error = Error; method apply (line 16) | fn apply(self, config: &FnmConfig) -> Result<(), Self::Error> { type Error (line 35) | pub enum Error { FILE: src/commands/uninstall.rs type Uninstall (line 14) | pub struct Uninstall { type Error (line 19) | type Error = Error; method apply (line 21) | fn apply(self, config: &FnmConfig) -> Result<(), Self::Error> { type Error (line 88) | pub enum Error { FILE: src/commands/use.rs type Use (line 18) | pub struct Use { type Error (line 35) | type Error = Error; method apply (line 37) | fn apply(self, config: &FnmConfig) -> Result<(), Self::Error> { function will_version_change (line 125) | fn will_version_change(resolved_path: &Path, config: &FnmConfig) -> bool { function install_new_version (line 133) | fn install_new_version( function replace_symlink (line 168) | fn replace_symlink(from: &std::path::Path, to: &std::path::Path) -> std:... function should_install_interactively (line 176) | fn should_install_interactively(requested_version: &UserVersion) -> bool { function warn_if_multishell_path_not_in_path_env_var (line 199) | fn warn_if_multishell_path_not_in_path_env_var( type Error (line 231) | pub enum Error { type InferVersionError (line 257) | pub enum InferVersionError { FILE: src/config.rs type FnmConfig (line 9) | pub struct FnmConfig { method version_file_strategy (line 120) | pub fn version_file_strategy(&self) -> VersionFileStrategy { method corepack_enabled (line 124) | pub fn corepack_enabled(&self) -> bool { method resolve_engines (line 128) | pub fn resolve_engines(&self) -> bool { method multishell_path (line 132) | pub fn multishell_path(&self) -> Option<&std::path::Path> { method log_level (line 139) | pub fn log_level(&self) -> LogLevel { method base_dir_with_default (line 143) | pub fn base_dir_with_default(&self) -> std::path::PathBuf { method installations_dir (line 151) | pub fn installations_dir(&self) -> std::path::PathBuf { method default_version_dir (line 157) | pub fn default_version_dir(&self) -> std::path::PathBuf { method aliases_dir (line 161) | pub fn aliases_dir(&self) -> std::path::PathBuf { method multishell_storage (line 167) | pub fn multishell_storage(&self) -> std::path::PathBuf { method with_base_dir (line 172) | pub fn with_base_dir(mut self, base_dir: Option) -... method with_multishell_path (line 177) | pub fn with_multishell_path(mut self, multishell_path: std::path::Path... method default (line 104) | fn default() -> Self { FILE: src/current_version.rs function current_version (line 7) | pub fn current_version(config: &FnmConfig) -> Result, Er... type Error (line 34) | pub enum Error { FILE: src/default_version.rs function find_default_version (line 5) | pub fn find_default_version(config: &FnmConfig) -> Option { FILE: src/directories.rs function xdg_dir (line 6) | fn xdg_dir(env: &str) -> Option { function runtime_dir (line 16) | fn runtime_dir(basedirs: &impl BaseStrategy) -> Option { function state_dir (line 20) | fn state_dir(basedirs: &impl BaseStrategy) -> Option { function cache_dir (line 24) | fn cache_dir(basedirs: &impl BaseStrategy) -> PathBuf { type Directories (line 31) | pub struct Directories( method strategy (line 43) | pub fn strategy(&self) -> &impl BaseStrategy { method default_base_dir (line 47) | pub fn default_base_dir(&self) -> PathBuf { method multishell_storage (line 71) | pub fn multishell_storage(&self) -> PathBuf { method default (line 37) | fn default() -> Self { FILE: src/directory_portal.rs type DirectoryPortal (line 10) | pub struct DirectoryPortal> { function new_in (line 19) | pub fn new_in(parent_dir: impl AsRef, target: P) -> Self { function teleport (line 25) | pub fn teleport(self) -> std::io::Result

{ type Target (line 37) | type Target = Path; function deref (line 38) | fn deref(&self) -> &Self::Target { function as_ref (line 44) | fn as_ref(&self) -> &Path { function test_portal (line 56) | fn test_portal() { FILE: src/downloader.rs type Error (line 14) | pub enum Error { function filename_for_version (line 39) | fn filename_for_version(version: &Version, arch: Arch, ext: &str) -> Str... function filename_for_version (line 50) | fn filename_for_version(version: &Version, arch: Arch, ext: &str) -> Str... function download_url (line 59) | fn download_url(base_url: &Url, version: &Version, arch: Arch, ext: &str... function install_node_dist (line 70) | pub fn install_node_dist>( function test_installing_node_12 (line 141) | fn test_installing_node_12() { function test_installing_npm (line 157) | fn test_installing_npm() { function install_in (line 174) | fn install_in(path: &Path) -> PathBuf { FILE: src/fs.rs function symlink_dir (line 4) | pub fn symlink_dir, U: AsRef>(from: P, to: U) -> st... function symlink_dir (line 10) | pub fn symlink_dir, U: AsRef>(from: P, to: U) -> st... function remove_symlink_dir (line 16) | pub fn remove_symlink_dir>(path: P) -> std::io::Result<()> { function remove_symlink_dir (line 22) | pub fn remove_symlink_dir>(path: P) -> std::io::Result<()> { function shallow_read_symlink (line 27) | pub fn shallow_read_symlink>(path: P) -> std::io::Result<... FILE: src/http.rs type Error (line 10) | pub struct Error(#[from] reqwest::Error); type Response (line 11) | pub type Response = reqwest::blocking::Response; function get (line 13) | pub fn get(url: impl IntoUrl) -> Result { FILE: src/installed_versions.rs function list (line 5) | pub fn list>(installations_dir: P) -> Result... type Error (line 30) | pub enum Error { FILE: src/log_level.rs type LogLevel (line 6) | pub enum LogLevel { method as_str (line 15) | pub fn as_str(self) -> &'static str { method is_writable (line 23) | pub fn is_writable(self, logging: Self) -> bool { method writer_for (line 28) | pub fn writer_for(self, logging: Self) -> Box { method possible_values (line 39) | pub fn possible_values() -> &'static [&'static str; 4] { method fmt (line 45) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function test_is_writable (line 63) | fn test_is_writable() { FILE: src/lts.rs type LtsType (line 5) | pub enum LtsType { method from (line 13) | fn from(s: &str) -> Self { method pick_latest (line 32) | pub fn pick_latest<'vec>( method fmt (line 23) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: src/main.rs function main (line 42) | fn main() { FILE: src/package_json.rs type EnginesField (line 4) | struct EnginesField { type PackageJson (line 9) | pub struct PackageJson { method node_range (line 14) | pub fn node_range(&self) -> Option<&node_semver::Range> { FILE: src/path_ext.rs type PathExt (line 3) | pub trait PathExt { method ensure_exists_silently (line 4) | fn ensure_exists_silently(self) -> Self; method ensure_exists_silently (line 10) | fn ensure_exists_silently(self) -> Self { FILE: src/pretty_serde.rs type DecodeError (line 5) | pub struct DecodeError { method from_serde (line 24) | pub fn from_serde(input: impl Into, cause: serde_json::Error) ... method report (line 34) | pub fn report(&self) -> String { type ClonedError (line 15) | pub struct ClonedError { FILE: src/progress.rs type ResponseProgress (line 6) | pub struct ResponseProgress { method new (line 46) | pub fn new(response: Response, target: ProgressDrawTarget) -> Self { method finish (line 55) | pub fn finish(&self) { type ProgressConfig (line 12) | pub enum ProgressConfig { method enabled (line 20) | pub fn enabled(&self, config: &crate::config::FnmConfig) -> bool { function make_progress_bar (line 31) | fn make_progress_bar(size: u64, target: ProgressDrawTarget) -> ProgressB... method read (line 63) | fn read(&mut self, buf: &mut [u8]) -> std::io::Result { method drop (line 75) | fn drop(&mut self) { constant CONTENT_LENGTH (line 92) | const CONTENT_LENGTH: usize = 100; type MockedTerm (line 95) | struct MockedTerm { method width (line 100) | fn width(&self) -> u16 { method move_cursor_up (line 104) | fn move_cursor_up(&self, _n: usize) -> std::io::Result<()> { method move_cursor_down (line 108) | fn move_cursor_down(&self, _n: usize) -> std::io::Result<()> { method move_cursor_right (line 112) | fn move_cursor_right(&self, _n: usize) -> std::io::Result<()> { method move_cursor_left (line 116) | fn move_cursor_left(&self, _n: usize) -> std::io::Result<()> { method write_line (line 120) | fn write_line(&self, s: &str) -> std::io::Result<()> { method write_str (line 125) | fn write_str(&self, s: &str) -> std::io::Result<()> { method clear_line (line 130) | fn clear_line(&self) -> std::io::Result<()> { method flush (line 134) | fn flush(&self) -> std::io::Result<()> { function test_reads_data_and_shows_progress (line 140) | fn test_reads_data_and_shows_progress() { FILE: src/remote_node_index.rs type LtsStatus (line 10) | enum LtsStatus { function from (line 16) | fn from(status: LtsStatus) -> Self { function deserialize (line 24) | pub fn deserialize<'de, D>(deserializer: D) -> Result, D:... type TestSubject (line 37) | struct TestSubject { function test_false_deserialization (line 43) | fn test_false_deserialization() { function test_value_deserialization (line 51) | fn test_value_deserialization() { type IndexedNodeVersion (line 61) | pub struct IndexedNodeVersion { type Error (line 70) | pub enum Error { function list (line 84) | pub fn list(base_url: &Url) -> Result, Error> { function test_list (line 103) | fn test_list() { FILE: src/shell/bash.rs type Bash (line 8) | pub struct Bash; method to_clap_shell (line 11) | fn to_clap_shell(&self) -> clap_complete::Shell { method path (line 15) | fn path(&self, path: &Path) -> anyhow::Result { method set_env_var (line 24) | fn set_env_var(&self, name: &str, value: &str) -> String { method use_on_cd (line 28) | fn use_on_cd(&self, config: &crate::config::FnmConfig) -> anyhow::Result... FILE: src/shell/fish.rs type Fish (line 8) | pub struct Fish; method to_clap_shell (line 11) | fn to_clap_shell(&self) -> clap_complete::Shell { method path (line 15) | fn path(&self, path: &Path) -> anyhow::Result { method set_env_var (line 24) | fn set_env_var(&self, name: &str, value: &str) -> String { method use_on_cd (line 28) | fn use_on_cd(&self, config: &crate::config::FnmConfig) -> anyhow::Result... FILE: src/shell/infer/mod.rs function shell_from_string (line 10) | fn shell_from_string(shell: &str) -> Option> { FILE: src/shell/infer/unix.rs type ProcessInfo (line 9) | struct ProcessInfo { constant MAX_ITERATIONS (line 14) | const MAX_ITERATIONS: u8 = 10; function infer_shell (line 16) | pub fn infer_shell() -> Option> { function get_process_info (line 48) | fn get_process_info(pid: u32) -> Result { type ProcessInfoError (line 89) | enum ProcessInfoError { function test_get_process_info (line 110) | fn test_get_process_info() -> anyhow::Result<()> { FILE: src/shell/infer/windows.rs function infer_shell (line 7) | pub fn infer_shell() -> Option> { function tap_none (line 47) | fn tap_none(opt: Option, f: F) -> Option FILE: src/shell/powershell.rs type PowerShell (line 8) | pub struct PowerShell; method path (line 11) | fn path(&self, path: &Path) -> anyhow::Result { method set_env_var (line 24) | fn set_env_var(&self, name: &str, value: &str) -> String { method use_on_cd (line 28) | fn use_on_cd(&self, config: &crate::config::FnmConfig) -> anyhow::Result... method to_clap_shell (line 53) | fn to_clap_shell(&self) -> clap_complete::Shell { FILE: src/shell/shell.rs type Shell (line 6) | pub trait Shell: Debug { method path (line 7) | fn path(&self, path: &Path) -> anyhow::Result; method set_env_var (line 8) | fn set_env_var(&self, name: &str, value: &str) -> String; method use_on_cd (line 9) | fn use_on_cd(&self, config: &crate::config::FnmConfig) -> anyhow::Resu... method rehash (line 10) | fn rehash(&self) -> Option<&'static str> { method to_clap_shell (line 13) | fn to_clap_shell(&self) -> clap_complete::Shell; type Shells (line 17) | pub enum Shells { method fmt (line 28) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function from (line 41) | fn from(shell: Shells) -> Box { function from (line 54) | fn from(shell: Box) -> Self { FILE: src/shell/windows_cmd/mod.rs type WindowsCmd (line 5) | pub struct WindowsCmd; method to_clap_shell (line 8) | fn to_clap_shell(&self) -> clap_complete::Shell { method path (line 13) | fn path(&self, path: &Path) -> anyhow::Result { method set_env_var (line 26) | fn set_env_var(&self, name: &str, value: &str) -> String { method use_on_cd (line 30) | fn use_on_cd(&self, config: &crate::config::FnmConfig) -> anyhow::Result... function create_cd_file_at (line 46) | fn create_cd_file_at(path: &std::path::Path) -> std::io::Result<()> { function use_on_cd_quotes_macro_path (line 59) | fn use_on_cd_quotes_macro_path() { FILE: src/shell/windows_compat.rs function maybe_fix_windows_path (line 6) | pub fn maybe_fix_windows_path(path: &str) -> Option { FILE: src/shell/zsh.rs type Zsh (line 8) | pub struct Zsh; method to_clap_shell (line 11) | fn to_clap_shell(&self) -> clap_complete::Shell { method path (line 15) | fn path(&self, path: &Path) -> anyhow::Result { method set_env_var (line 24) | fn set_env_var(&self, name: &str, value: &str) -> String { method rehash (line 28) | fn rehash(&self) -> Option<&'static str> { method use_on_cd (line 32) | fn use_on_cd(&self, config: &crate::config::FnmConfig) -> anyhow::Result... function use_on_cd_removes_existing_hook_before_adding (line 69) | fn use_on_cd_removes_existing_hook_before_adding() { FILE: src/system_info.rs function platform_name (line 2) | pub fn platform_name() -> &'static str { function platform_name (line 7) | pub fn platform_name() -> &'static str { function platform_arch (line 15) | pub fn platform_arch() -> &'static str { function platform_arch (line 23) | pub fn platform_arch() -> &'static str { function platform_arch (line 31) | pub fn platform_arch() -> &'static str { function platform_arch (line 39) | pub fn platform_arch() -> &'static str { FILE: src/system_version.rs function path (line 3) | pub fn path() -> PathBuf { function display_name (line 13) | pub fn display_name() -> &'static str { FILE: src/user_version.rs type UserVersion (line 5) | pub enum UserVersion { method to_version (line 13) | pub fn to_version<'a, T>( method alias_name (line 27) | pub fn alias_name(&self) -> Option { method matches (line 34) | pub fn matches(&self, version: &Version, config: &crate::config::FnmCo... method inferred_alias (line 55) | pub fn inferred_alias(&self) -> Option { method fmt (line 70) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function next_of (line 64) | fn next_of<'a, T: FromStr, It: Iterator>(i: &mut It) -> ... function skip_first_v (line 80) | fn skip_first_v(str: &str) -> &str { type Err (line 85) | type Err = node_semver::SemverError; method from_str (line 86) | fn from_str(s: &str) -> Result { method eq (line 103) | fn eq(&self, other: &Self) -> bool { function test_parsing_only_major (line 120) | fn test_parsing_only_major() { function test_parsing_major_minor (line 126) | fn test_parsing_major_minor() { function test_parsing_only_major_with_v (line 132) | fn test_parsing_only_major_with_v() { function test_major_to_version (line 138) | fn test_major_to_version() { function test_major_minor_to_version (line 152) | fn test_major_minor_to_version() { function test_semver_to_version (line 166) | fn test_semver_to_version() { FILE: src/user_version_reader.rs type UserVersionReader (line 8) | pub enum UserVersionReader { method into_user_version (line 14) | pub fn into_user_version(self, config: &FnmConfig) -> Option Result { function test_file_pathbuf_to_version (line 46) | fn test_file_pathbuf_to_version() { function test_directory_pathbuf_to_version (line 57) | fn test_directory_pathbuf_to_version() { function test_direct_to_version (line 69) | fn test_direct_to_version() { function test_from_str_directory (line 76) | fn test_from_str_directory() { function test_from_str_file (line 87) | fn test_from_str_file() { function test_non_existing_path (line 97) | fn test_non_existing_path() { function test_a_version_number (line 109) | fn test_a_version_number() { FILE: src/version.rs type Version (line 8) | pub enum Version { method parse (line 21) | pub fn parse>(version_str: S) -> Result Option { method find_aliases (line 44) | pub fn find_aliases( method v_str (line 55) | pub fn v_str(&self) -> String { method installation_path (line 59) | pub fn installation_path(&self, config: &config::FnmConfig) -> std::pa... method root_path (line 72) | pub fn root_path(&self, config: &config::FnmConfig) -> Option(deserializer: D) -> Result method fmt (line 94) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method eq (line 113) | fn eq(&self, other: &node_semver::Version) -> bool { function first_letter_is_number (line 16) | fn first_letter_is_number(s: &str) -> bool { type Err (line 106) | type Err = node_semver::SemverError; method from_str (line 107) | fn from_str(s: &str) -> Result { FILE: src/version_file_strategy.rs type VersionFileStrategy (line 5) | pub enum VersionFileStrategy { method as_str (line 14) | pub fn as_str(self) -> &'static str { method fmt (line 23) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: src/version_files.rs constant PATH_PARTS (line 12) | const PATH_PARTS: [&str; 3] = [".nvmrc", ".node-version", "package.json"]; function get_user_version_for_directory (line 14) | pub fn get_user_version_for_directory( function get_user_version_for_directory_recursive (line 28) | fn get_user_version_for_directory_recursive( function get_user_version_for_single_directory (line 45) | fn get_user_version_for_single_directory( function get_user_version_for_file (line 66) | pub fn get_user_version_for_file(