Skip to content

Commit

Permalink
fix(type): public all fields
Browse files Browse the repository at this point in the history
  • Loading branch information
pysan3 committed Jan 30, 2024
1 parent 4d8ca25 commit 41436f8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lua/pathlib/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ local watcher = require("pathlib.utils.watcher")
---@field public nuv uv
---@field public git_state PathlibGitState
---@field public error_msg string|nil
---@field private _raw_paths PathlibStrList
---@field private _drive_name string # Drive name for Windows path. ("C:", "D:", "\\127.0.0.1")
---@field private __windows_panic boolean # Set to true when passed path might be a windows path. PathlibWindows ignores this.
---@field private __fs_event_callbacks table<string, PathlibWatcherCallback>|nil # List of functions called when a fs_event is triggered.
---@field private __string_cache string|nil # Cache result of `tostring(self)`.
---@field private __parent_cache PathlibPath|nil # Cache reference to parent object.
---@field public _raw_paths PathlibStrList
---@field public _drive_name string # Drive name for Windows path. ("C:", "D:", "\\127.0.0.1")
---@field public __windows_panic boolean # Set to true when passed path might be a windows path. PathlibWindows ignores this.
---@field public __fs_event_callbacks table<string, PathlibWatcherCallback>|nil # List of functions called when a fs_event is triggered.
---@field public __string_cache string|nil # Cache result of `tostring(self)`.
---@field public __parent_cache PathlibPath|nil # Cache reference to parent object.
local Path = setmetatable({
mytype = const.path_module_enum.PathlibPath,
sep_str = "/",
Expand Down

0 comments on commit 41436f8

Please sign in to comment.