Commit 1cf7b61
committed
Refactor REPL history path handling
- Simplified the `repl_history_path` function by directly using `dirs::data_local_dir()` for path resolution, removing the platform-specific state directory checks.
- This change streamlines the REPL history management, ensuring consistent behavior across platforms while maintaining the functionality of saving command history.1 parent 6932db5 commit 1cf7b61
1 file changed
+1
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 14 | | |
41 | | - | |
42 | | - | |
43 | | - | |
| 15 | + | |
44 | 16 | | |
45 | 17 | | |
46 | 18 | | |
| |||
0 commit comments