update path-add-extension type with new optional argument (#519)
This commit is contained in:
parent
f4aff224a8
commit
2804bd4a93
|
@ -2595,7 +2595,9 @@
|
|||
[path-add-extension
|
||||
(cl->*
|
||||
(-> -Pathlike (Un -String -Bytes) -Path)
|
||||
(-> -SomeSystemPathlike (Un -String -Bytes) -SomeSystemPath))]
|
||||
(-> -Pathlike (Un -String -Bytes) (Un -String -Bytes) -Path)
|
||||
(-> -SomeSystemPathlike (Un -String -Bytes) -SomeSystemPath)
|
||||
(-> -SomeSystemPathlike (Un -String -Bytes) (Un -String -Bytes) -SomeSystemPath))]
|
||||
|
||||
[path-replace-suffix
|
||||
(cl->*
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
(filename-extension p)
|
||||
(path-only long-path)
|
||||
(some-system-path->string long-path)
|
||||
(path-add-extension p ".bak")
|
||||
(path-add-extension p ".bak" ".")
|
||||
|
||||
))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user