Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jrnl-org/jrnl
/ expand_path
Function
expand_path
jrnl/path.py:24–25 ·
view source on GitHub ↗
(path: str)
Source
from the content-addressed store, hash-verified
22
23
24
def
expand_path(path: str) -> str:
25
return
os.path.expanduser(os.path.expandvars(path))
26
27
28
def
absolute_path(path: str) -> str:
Callers
11
_autocomplete_path
Function · 0.90
backup
Function · 0.90
upgrade_jrnl
Function · 0.90
open_journal
Function · 0.90
test_expand_path_actually_expands_mac_linux
Function · 0.90
test_expand_path_actually_expands_windows
Function · 0.90
test_expand_path_expands_into_correct_value_mac_linux
Function · 0.90
test_expand_path_expands_into_correct_value_windows
Function · 0.90
test_expand_path_expands_into_random_env_value_mac_linux
Function · 0.90
test_expand_path_expands_into_random_env_value_windows
Function · 0.90
absolute_path
Function · 0.85
Calls
no outgoing calls
Tested by
6
test_expand_path_actually_expands_mac_linux
Function · 0.72
test_expand_path_actually_expands_windows
Function · 0.72
test_expand_path_expands_into_correct_value_mac_linux
Function · 0.72
test_expand_path_expands_into_correct_value_windows
Function · 0.72
test_expand_path_expands_into_random_env_value_mac_linux
Function · 0.72
test_expand_path_expands_into_random_env_value_windows
Function · 0.72