feat(file-explorer): add gitignored visibility toggle (#2022)

This commit is contained in:
Leynier Gutiérrez González
2026-05-17 18:33:47 -04:00
committed by GitHub
parent 0dc0995bd1
commit 231bad8e19
30 changed files with 647 additions and 69 deletions
+7
View File
@@ -4,6 +4,7 @@ import {
GitBranchCompare,
GitBranchDiff,
GitBulkPaths,
GitCheckIgnored,
GitCommit,
GitCommitCompare,
GitCommitDiff,
@@ -27,6 +28,12 @@ export const GIT_METHODS: RpcMethod[] = [
? runtime.getRuntimeGitStatus(params.worktree)
: runtime.getRuntimeGitStatus(params.worktree, { includeIgnored: params.includeIgnored })
}),
defineMethod({
name: 'git.checkIgnored',
params: GitCheckIgnored,
handler: async (params, { runtime }) =>
runtime.checkRuntimeGitIgnoredPaths(params.worktree, params.paths)
}),
defineMethod({
name: 'git.history',
params: GitHistory,