chore: resolve undefined-field
This commit is contained in:
@@ -38,9 +38,9 @@ end
|
||||
|
||||
---Update the directory git_status of link target and the file status of the link itself
|
||||
---@param parent_ignored boolean
|
||||
---@param status table|nil
|
||||
function DirectoryLinkNode:update_git_status(parent_ignored, status)
|
||||
self.git_status = git_utils.git_status_dir(parent_ignored, status, self.link_to, self.absolute_path)
|
||||
---@param project GitProject?
|
||||
function DirectoryLinkNode:update_git_status(parent_ignored, project)
|
||||
self.git_status = git_utils.git_status_dir(parent_ignored, project, self.link_to, self.absolute_path)
|
||||
end
|
||||
|
||||
---Create a sanitized partial copy of a node, populating children recursively.
|
||||
|
||||
@@ -67,9 +67,9 @@ end
|
||||
|
||||
---Update the git_status of the directory
|
||||
---@param parent_ignored boolean
|
||||
---@param status table|nil
|
||||
function DirectoryNode:update_git_status(parent_ignored, status)
|
||||
self.git_status = git_utils.git_status_dir(parent_ignored, status, self.absolute_path, nil)
|
||||
---@param project GitProject?
|
||||
function DirectoryNode:update_git_status(parent_ignored, project)
|
||||
self.git_status = git_utils.git_status_dir(parent_ignored, project, self.absolute_path, nil)
|
||||
end
|
||||
|
||||
---@return GitXY[]?
|
||||
|
||||
@@ -34,9 +34,9 @@ end
|
||||
|
||||
---Update the git_status of the target otherwise the link itself
|
||||
---@param parent_ignored boolean
|
||||
---@param status table|nil
|
||||
function FileLinkNode:update_git_status(parent_ignored, status)
|
||||
self.git_status = git_utils.git_status_file(parent_ignored, status, self.link_to, self.absolute_path)
|
||||
---@param project GitProject?
|
||||
function FileLinkNode:update_git_status(parent_ignored, project)
|
||||
self.git_status = git_utils.git_status_file(parent_ignored, project, self.link_to, self.absolute_path)
|
||||
end
|
||||
|
||||
---Create a sanitized partial copy of a node
|
||||
|
||||
@@ -42,9 +42,9 @@ end
|
||||
|
||||
---Update the GitStatus of the file
|
||||
---@param parent_ignored boolean
|
||||
---@param status table|nil
|
||||
function FileNode:update_git_status(parent_ignored, status)
|
||||
self.git_status = git_utils.git_status_file(parent_ignored, status, self.absolute_path, nil)
|
||||
---@param project GitProject?
|
||||
function FileNode:update_git_status(parent_ignored, project)
|
||||
self.git_status = git_utils.git_status_file(parent_ignored, project, self.absolute_path, nil)
|
||||
end
|
||||
|
||||
---@return GitXY[]?
|
||||
|
||||
@@ -22,9 +22,9 @@ end
|
||||
---Update the git_status of the node
|
||||
---Abstract
|
||||
---@param parent_ignored boolean
|
||||
---@param status table?
|
||||
function Node:update_git_status(parent_ignored, status)
|
||||
self:nop(parent_ignored, status)
|
||||
---@param project GitProject?
|
||||
function Node:update_git_status(parent_ignored, project)
|
||||
self:nop(parent_ignored, project)
|
||||
end
|
||||
|
||||
---Short-format statuses
|
||||
|
||||
Reference in New Issue
Block a user