[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: absolute pathname a.k.a. realpath
From: |
Evan Hanson |
Subject: |
Re: absolute pathname a.k.a. realpath |
Date: |
Tue, 25 Oct 2022 10:37:42 +1300 |
On 2022-10-24 14:14, John Cowan wrote:
> As designed, the pathname module does not access the filesystem (except
> that it knows whether the default is Posix or Windows), and I'd like to
> keep it that way. Realpath is available in the Posix module.
I'd tend to agree with John. Path resolution is kind of a different thing.
(Although technically I don't think realpath(3) is available directly,
you can use `read-symbolic-link' with the "canonicalize" argument set.)
Evan