Skip to content

Commit e4b2225

Browse files
committed
Chore: Add base Url field to the Yazi types
Reference: sxyazi/yazi#2492
1 parent 5ae8424 commit e4b2225

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

yazi_types.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@
451451
-- The type for the Url object
452452
---@class (exact) Url
453453
---@field frag string The fragment string of the Url.
454+
---@field base string Returns the base path of the Url.
454455
---@field is_regular boolean Whether the Url points to a regular file.
455456
---@field is_search boolean Whether the Url points to file from a search result.
456457
---@field is_archive boolean Whether the Url points to a file from an archive.

0 commit comments

Comments
 (0)