Skip to content

Commit 8a5f747

Browse files
authored
document that abspath also does normpath (#26653)
1 parent fca32a4 commit 8a5f747

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/path.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ normpath(a::AbstractString, b::AbstractString...) = normpath(joinpath(a,b...))
274274
abspath(path::AbstractString) -> AbstractString
275275
276276
Convert a path to an absolute path by adding the current directory if necessary.
277+
Also normalizes the path as in [`normpath`](@ref).
277278
"""
278279
abspath(a::String) = normpath(isabspath(a) ? a : joinpath(pwd(),a))
279280

0 commit comments

Comments
 (0)