自动同步: 2026-07-01 02:10
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* Resolve the user's home directory, preferring environment variables over
|
||||
* os.homedir(). On Linux, os.homedir() reads from /etc/passwd which can
|
||||
* return a stale path after a user rename (usermod -l). The $HOME env var
|
||||
* is set by the login process and reflects the current session.
|
||||
*/
|
||||
export declare function resolveHome(): string;
|
||||
Reference in New Issue
Block a user