MCPcopy Create free account

hub / github.com/dfrankland/envoluntary / functions

Functions136 in github.com/dfrankland/envoluntary

↓ 14 callersMethodas_ref
(&self)
env-hooks/src/lib.rs:164
↓ 14 callersFunctionexport
( env_vars_state: EnvVarsState, _semicolon_delimited_env_vars: Option<&HashSet<String>>, )
env-hooks/src/shells/zsh.rs:32
↓ 11 callersMethodinto_iter
(self)
env-hooks/src/lib.rs:47
↓ 9 callersFunctionhook
(hook_prefix: impl AsRef<[u8]>, export_command: impl AsRef<[u8]>)
env-hooks/src/shells/zsh.rs:25
↓ 7 callersMethodget_env_state_var
( self, env_state_var_key: impl AsRef<OsStr>, )
env-hooks/src/state.rs:96
↓ 6 callersFunctionmerge_delimited_env_var
( env_var: &str, split_delimiter: char, join_delimiter: char, old_env_vars: &EnvVars, new_
env-hooks/src/lib.rs:233
↓ 5 callersFunctionget_env_vars_from_bash
( source: impl AsRef<BashSource>, env_vars: Option<EnvVars>, )
env-hooks/src/lib.rs:196
↓ 5 callersFunctionget_old_env_vars_to_be_updated
(old_env_vars: EnvVars, new_env_vars: &EnvVars)
env-hooks/src/lib.rs:127
↓ 5 callersMethodmatch_rcs
( self, match_rcs_cb: impl Fn(&Path) -> anyhow::Result<Vec<RC>>, )
env-hooks/src/state.rs:68
↓ 5 callersFunctionnix_program
( program: impl AsRef<OsStr>, args: impl IntoIterator<Item = impl AsRef<OsStr>>, )
nix-dev-env/src/nix_command.rs:32
↓ 5 callersFunctionremove_ignored_env_vars
(env_vars: &mut EnvVars)
env-hooks/src/lib.rs:293
↓ 4 callersFunctionget_config_path
(provided_config_path: Option<&Path>)
cli/src/config.rs:200
↓ 4 callersFunctionprint_shell_export
(shell: EnvoluntaryShell, env_vars_state: EnvVarsState)
cli/src/shell.rs:343
↓ 4 callersFunctionprint_shell_export
(shell: DirenvShell, env_vars_state: EnvVarsState)
env-hooks/examples/direnv/shell.rs:261
↓ 4 callersMethodupdate
(&self)
nix-dev-env/src/nix_profile_cache.rs:78
↓ 3 callersFunctioncheck_nix_program_version
(nix_executable_path: impl AsRef<OsStr>)
nix-dev-env/src/nix_version_check.rs:25
↓ 3 callersFunctionget_env_vars_from_current_process
()
env-hooks/src/lib.rs:154
↓ 3 callersFunctionget_env_vars_reset
( mut old_env_vars_that_were_updated: EnvVars, new_env_vars: HashSet<String>, env_state_var_key: S
env-hooks/src/lib.rs:138
↓ 3 callersFunctionget_home_dir
()
cli/src/config.rs:232
↓ 3 callersMethodimpure_arg
(&self)
nix-dev-env/src/nix_profile_cache.rs:117
↓ 3 callersFunctionnix
(args: impl IntoIterator<Item = impl AsRef<OsStr>>)
nix-dev-env/src/nix_command.rs:28
↓ 3 callersMethodreset_and_set_new_env_state_var
( self, reset_env_vars_cb: impl Fn(Vec<RC>, OsString) -> anyhow::Result<T>, set_new_en
env-hooks/src/state.rs:168
↓ 3 callersMethodreset_env_vars
( self, reset_env_vars_cb: impl Fn(OsString) -> anyhow::Result<()>, )
env-hooks/src/state.rs:112
↓ 3 callersMethodset_new_env_state_var
( self, set_new_env_state_var_cb: impl Fn(Vec<RC>) -> anyhow::Result<()>, )
env-hooks/src/state.rs:152
↓ 2 callersMethodadd_gcroot
(&self, store_path: &Path, symlink: &Path)
nix-dev-env/src/nix_profile_cache.rs:124
↓ 2 callersFunctioncheck_nix_version
()
nix-dev-env/src/nix_version_check.rs:21
↓ 2 callersFunctionget_cache_dir
(provided_cache_dir: Option<&Path>)
cli/src/config.rs:216
↓ 2 callersFunctionget_cache_profile
( cache_dir: &Path, flake_reference: &str, force_update: bool, impure: Option<bool>, )
cli/src/shell.rs:207
↓ 2 callersFunctionget_env_state_var
(env_state_var_key: impl AsRef<OsStr>)
env-hooks/src/state.rs:179
↓ 2 callersMethodget_env_vars_reset
(self)
env-hooks/examples/direnv/shell.rs:180
↓ 2 callersFunctionget_export_env_vars_state
( flake_reference: String, cache_profile: &NixProfileCache, )
cli/src/shell.rs:262
↓ 2 callersFunctionget_export_env_vars_state
(envrc: PathBuf)
env-hooks/examples/direnv/shell.rs:189
↓ 2 callersFunctionget_path
(doc: &Value)
nix-dev-env/src/nix_profile_cache.rs:262
↓ 2 callersFunctionget_paths_from_doc
(doc: &Value)
nix-dev-env/src/nix_profile_cache.rs:245
↓ 2 callersMethodnext
(&mut self)
env-hooks/src/lib.rs:122
↓ 2 callersFunctionpath_is_match_with_or_without_home_tilde
( path_string: impl AsRef<str>, path_string_with_tilde: Option<impl AsRef<str>>, pattern: &Regex,
cli/src/config.rs:162
↓ 2 callersMethodprofile_rc
(&self)
nix-dev-env/src/nix_profile_cache.rs:113
↓ 2 callersFunctionreplace_home_with_tilde
(path_string: impl AsRef<str>)
cli/src/config.rs:174
↓ 1 callersFunctionadd_entry
( provided_config_path: Option<&Path>, pattern: String, flake_reference: String, pattern_adjac
cli/src/config.rs:31
↓ 1 callersFunctionclean_old_gcroots
(cache_dir: &Path, flake_inputs_dir: &Path)
nix-dev-env/src/nix_profile_cache.rs:234
↓ 1 callersFunctionedit
( provided_config_path: Option<&Path>, provided_editor_program: Option<&OsStr>, )
cli/src/config.rs:20
↓ 1 callersMethodencode
(&self)
cli/src/shell.rs:251
↓ 1 callersMethodencode
(&self)
env-hooks/examples/direnv/shell.rs:165
↓ 1 callersFunctionexport_var
(key: &str, value: &str)
env-hooks/src/shells/bash.rs:50
↓ 1 callersFunctionexport_var
(key: &str, value: &str)
env-hooks/src/shells/zsh.rs:49
↓ 1 callersFunctionexport_var
( key: &str, value: &str, semicolon_delimited_env_vars: Option<&HashSet<String>>, )
env-hooks/src/shells/fish.rs:58
↓ 1 callersFunctionfind_adjacent_dir_entry_walking_up_file_hierarchy
( start_dir: PathBuf, pattern_adjacent: &Regex, )
cli/src/config.rs:137
↓ 1 callersFunctionfind_envrc_walking_up_file_hierarchy
(start_dir: PathBuf)
env-hooks/examples/direnv/shell.rs:151
↓ 1 callersFunctionget_cache_home_dir
()
cli/src/config.rs:223
↓ 1 callersFunctionget_cache_sub_dir
(cache_dir: &Path, flake_reference: &str)
cli/src/shell.rs:231
↓ 1 callersFunctionget_config_home_dir
()
cli/src/config.rs:207
↓ 1 callersMethodget_flake_input_paths
(&self)
nix-dev-env/src/nix_profile_cache.rs:138
↓ 1 callersFunctionget_new_env_vars
(cache_profile: &NixProfileCache)
cli/src/shell.rs:291
↓ 1 callersFunctionget_new_env_vars
(envrc: PathBuf)
env-hooks/examples/direnv/shell.rs:210
↓ 1 callersFunctionhash_files
(filenames: impl AsRef<[PathBuf]>)
nix-dev-env/src/nix_profile_cache.rs:208
↓ 1 callersFunctionhash_flake_reference
(flake_reference: &str)
nix-dev-env/src/nix_profile_cache.rs:228
↓ 1 callersFunctionignored_env_var_key
(env_var_key: &str)
env-hooks/src/lib.rs:284
↓ 1 callersMethodmatching_entries
(&self, path: &Path)
cli/src/config.rs:100
↓ 1 callersFunctionmerge_delimited_values
( split_delimiter: char, join_delimiter: char, old_value: &str, new_value: &str, )
env-hooks/src/lib.rs:247
↓ 1 callersMethodneeds_update
(&self)
nix-dev-env/src/nix_profile_cache.rs:61
↓ 1 callersFunctionprint_cache_path
(args: EnvoluntaryShellPrintCachePathArgs)
cli/src/shell.rs:198
↓ 1 callersFunctionprint_export
(args: EnvoluntaryShellExportArgs)
cli/src/shell.rs:72
↓ 1 callersFunctionprint_export
(args: DirenvShellExportArgs)
env-hooks/examples/direnv/shell.rs:66
↓ 1 callersFunctionprint_hook
(shell: EnvoluntaryShell)
cli/src/shell.rs:38
↓ 1 callersFunctionprint_hook
(shell: DirenvShell)
env-hooks/examples/direnv/shell.rs:38
↓ 1 callersFunctionprint_matching_entries
( provided_config_path: Option<&Path>, path: &Path, )
cli/src/config.rs:57
↓ 1 callersFunctionprint_path
()
cli/src/config.rs:15
↓ 1 callersMethodsave
(&self, config_path: &Path)
cli/src/config.rs:89
↓ 1 callersMethodsimplified_exit_ok
Simplified implementation of <https://github.com/rust-lang/rust/issues/84908> TODO: Remove this and use `exit_ok` when it's stabilized.
nix-dev-env/src/nix_command.rs:17
↓ 1 callersMethodsimplified_exit_ok
Simplified implementation of <https://github.com/rust-lang/rust/issues/84908> TODO: Remove this and use `exit_ok` when it's stabilized.
env-hooks/src/lib.rs:185
↓ 1 callersMethodto_command_string
(&self)
env-hooks/src/lib.rs:170
↓ 1 callersFunctionunset_var
(key: &str)
env-hooks/src/shells/bash.rs:56
↓ 1 callersFunctionunset_var
(key: &str)
env-hooks/src/shells/zsh.rs:55
↓ 1 callersFunctionunset_var
(key: &str)
env-hooks/src/shells/fish.rs:75
Functionbash_export_set_unset_and_special_vars
()
env-hooks/tests/shells.rs:34
Functionbash_hook_templated
()
env-hooks/tests/shells.rs:57
Functionconfig_add_entry_with_custom_config_path
()
cli/tests/config_cmd.rs:77
Functionconfig_edit_executes_editor_with_config_path
()
cli/tests/config_cmd.rs:25
Functionconfig_print_path_outputs_valid_path
()
cli/tests/config_cmd.rs:7
Methoddecode
(base64_value: impl AsRef<[u8]>)
cli/src/shell.rs:242
Methoddecode
(encoded_direnv_diff: &str)
env-hooks/examples/direnv/shell.rs:172
Methodderef
(&self)
env-hooks/src/lib.rs:32
Methodderef_mut
(&mut self)
env-hooks/src/lib.rs:38
Functionenv_vars_into_env_vars_state_conversion
()
env-hooks/tests/utilities.rs:114
Functionexport
( env_vars_state: EnvVarsState, _semicolon_delimited_env_vars: Option<&HashSet<String>>, )
env-hooks/src/shells/bash.rs:33
Functionexport
( env_vars_state: EnvVarsState, semicolon_delimited_env_vars: Option<&HashSet<String>>, )
env-hooks/src/shells/fish.rs:41
Functionexport
( env_vars_state: EnvVarsState, _semicolon_delimited_env_vars: Option<&HashSet<String>>, )
env-hooks/src/shells/json.rs:7
Functionfish_export_delimited_variables
()
env-hooks/tests/shells.rs:118
Functionfish_export_set_unset_and_special_vars
()
env-hooks/tests/shells.rs:92
Functionfish_hook_templated
()
env-hooks/tests/shells.rs:142
Methodfrom
(value: EnvVars)
env-hooks/src/lib.rs:59
Methodfrom_iter
(iter: I)
env-hooks/src/lib.rs:53
Methodget_current_dir
( provided_current_dir: Option<PathBuf>, )
env-hooks/src/state.rs:50
Functionget_env_vars_from_current_process_returns_current_env
()
env-hooks/tests/utilities.rs:79
Functionget_env_vars_reset_returns_state_to_old_env_vars
()
env-hooks/tests/utilities.rs:58
Functionget_old_env_vars_to_be_updated_empty_old_vars
()
env-hooks/tests/utilities.rs:48
Functionget_old_env_vars_to_be_updated_finds_changed_vars
()
env-hooks/tests/utilities.rs:12
Functionget_old_env_vars_to_be_updated_ignores_new_vars
()
env-hooks/tests/utilities.rs:34
Functionhook
(hook_prefix: impl AsRef<[u8]>, export_command: impl AsRef<[u8]>)
env-hooks/src/shells/bash.rs:26
Functionhook
(hook_prefix: impl AsRef<[u8]>, export_command: impl AsRef<[u8]>)
env-hooks/src/shells/fish.rs:34
next →1–100 of 136, ranked by callers