Files
1419b62499 fix(sync): never delete or re-point entries skillshare did not create (#914)
* fix(sync): never delete or re-point entries skillshare did not create

On Windows, a plain `init` followed by `sync` deleted things in
~/.claude/skills that skillshare never created, with no backup and no
prompt. It also re-pointed another tool's junction. Seen in a sandbox
run of v0.30.7:

- prune removed real folders whose names only look like skillshare's
  flat naming (team__shared, _drafts), via the name heuristic
- prune removed a broken link that another tool or the user made
- merge sync deleted and re-created a same-name link that pointed into
  another manager's store
- init's import deleted original folders that matched the source
  byte for byte

The manifest already records what skillshare made, so use it:

- prune keeps a look-alike folder that is not in the manifest and warns
  once per sync; --force still removes it
- prune removes a broken external link only if the manifest records it
  (e.g. after the source moved); otherwise it keeps the link and warns
- merge sync re-points a link only if the manifest records it or it
  already points into the source; otherwise it reports the entry as
  kept local, as it already does for a real folder; --force replaces it
- init's import moves identical copies to the trash under
  replaced-by-init/<target>/ instead of deleting them

Tests: ownership_test.go adds regression tests that use createLink, so
they run on Windows without Developer Mode (junctions). The 4 keep
tests fail without this change. TestSyncTargetMerge_FixesBrokenLink now
records the link in the manifest first, since a same-name link that
skillshare did not make is no longer re-pointed. Existing tests in
internal/sync, internal/trash and cmd/skillshare show the same failures
on a Windows host with and without the change (symlink privilege). The
devcontainer suite has not been run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: say what sync and init keep when skillshare did not create it

The previous commit makes sync and init leave alone entries skillshare
did not create. Update the pages that describe that behaviour:

- sync-modes: merge mode keeps a same-name link from another tool and
  reports it as local; orphan cleanup keeps folders that only look like
  skillshare's flat names, and broken links outside the source that the
  manifest does not record. sync --force still removes them.
- init: identical folders replaced with links during the first sync go
  to the trash first (replaced-by-init/<tool>/, cleaned after 7 days).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(sourcefs): drop the raw-write allowance replaceIdenticalCopies no longer needs

replaceIdenticalCopies now moves an identical copy to the trash instead
of calling os.RemoveAll, so TestRawWriteRatchet reports its allowance as
stale.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(sync): apply the ownership rule at every consumer

Review of the first commit found places that still did, or predicted,
the old behaviour. One rule now decides whether a link is skillshare's:
Manifest.OwnsLink (the manifest records a link there, or it points into
the source). It compares canonical paths, so a source reached through an
alias and a relative project link still count as skillshare's.

- copy mode kept re-pointing: it removed any same-name link and wrote a
  copy. It now keeps a link it does not own, like merge mode.
- the dashboard diff predicted a prune for a folder that is only named
  like skillshare's, and an update for another tool's link. It now
  reports them as local and kept. The orphan-link prediction uses the
  same rule as prune.
- `diff` reported a target as in sync while sync printed "kept local"
  for another tool's link. It lists the link as a local override.
- doctor reported a broken link skillshare did not create as an error
  and suggested `skillshare sync`, which now keeps it. It is a warning
  with its own row, and `broken_symlinks` is `warning` in --json.
- `trash restore` put a folder init had replaced into the source as a
  new nested skill. Restore refuses entries under replaced-by-init/ and
  names the trash folder to copy from.
- init reported a folder it could not move to the trash as one that
  differs from the source, and dropped the error. It is reported
  separately, with the error.
- the PruneOptions.ManagedOnly comment still said broken external links
  are skipped; manifest-recorded ones are removed.

Tests cover the states the review listed: a source behind an alias, a
relative project link, ManagedOnly, standard naming, dry run with
--force, and a recorded copy the user replaced with a link.
TestSync_Pruning_RemovesBrokenExternalSymlinks passed without testing
anything, because FileExists follows links; it is now two tests that
use Lstat, one per owner.

Agent merge is unchanged: agents have no link manifest.

* fix(diff): list another tool's link as kept in copy mode too

Copy mode now keeps a same-name link skillshare did not create, but both
diffs read the entry with os.Stat. A broken link showed as a skill to
add on every run, and a live one as a plain local copy, while sync kept
both and said "kept local".

`diff` and the dashboard diff check the link first and report it the way
merge mode does: a local override, kept until --force.

* test(sync): make the aliased-source link while its folder exists

TestSyncMergeRepointsUnrecordedLinkIntoAliasedSource failed on Windows:
it linked straight to a missing folder, and a junction cannot be made
to one. It now links first and removes the folder after, like the other
broken-link tests in this file.

* fix(sync): compare a broken link by where it would point

linksIntoSource resolved both paths with EvalSymlinks, which gives up on
a path that does not exist. A broken link is exactly that, so a link
into a source reached through an alias (a symlinked config folder, or a
short 8.3 path on Windows) compared an unresolved path with a resolved
one and was taken for another tool's link. Sync then kept it instead of
repairing or pruning it.

It now uses sourcewalk.Canonical, which resolves the nearest folder that
exists and keeps the missing tail. The test covers both spellings: the
alias in the link, and the alias in the configured source.

* fix(init): report what the first sync kept, and match prune in the diff

Two previews said less, or more, than sync does.

init ran its first sync quietly and printed only "Synced". Sync now keeps
a link another tool put on a skill's name, a folder that is only named
like skillshare's, and a broken link it did not create, so the skill was
reported as synced while the tool still loaded the other copy. firstSync
returns the warnings a plain sync prints, and init shows them. They
already name the folders that differ from the source, so the separate
list of those is gone.

The dashboard diff counted an orphan link as a removal whenever the
manifest recorded it. Prune keeps a recorded link that still resolves
outside the source (the source moved and the old checkout stayed), so
the Sync page showed a removal that never happened. The diff now uses
prune's own rule: a link into the source goes when broken or recorded;
any other link only when broken and recorded.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Willie <egg358358@gmail.com>
2026-11-17 04:15:04 +08:00

41 KiB

1# Raw os write calls allowed outside sourcefs. See ratchet_test.go.
2# filefunctioncalleepath argumentreason
3cmd/skillshare/completion.gocmdCompletionos.MkdirAlldirshell
4cmd/skillshare/completion.gocmdCompletionos.WriteFiledestPathshell
5cmd/skillshare/doctor.gocheckSymlinkSupportos.MkdirAlltestTargettmp
6cmd/skillshare/doctor.gocheckSymlinkSupportos.RemovetestLinktmp
7cmd/skillshare/doctor.gocheckSymlinkSupportos.RemovetestLinktmp
8cmd/skillshare/doctor.gocheckSymlinkSupportos.RemoveAlltestTargettmp
9cmd/skillshare/doctor.gocheckSymlinkSupportos.RemoveAlltestTargettmp
10cmd/skillshare/doctor.gocheckTargetIssuesos.CreatetestFiletarget
11cmd/skillshare/doctor.gocheckTargetIssuesos.RemovetestFiletarget
12cmd/skillshare/extras_init.goextrasInitGlobalos.MkdirAllsourceDirextras
13cmd/skillshare/extras_init.goextrasInitProjectos.MkdirAllsourceDirextras
14cmd/skillshare/extras_remove.gocleanEmptyExtrasDiros.Removedirextras
15cmd/skillshare/extras_remove.gocleanEmptyExtrasDirQuietos.Removedirextras
16cmd/skillshare/helpers.gocopyDiros.MkdirAlldstPathsource-unmigrated
17cmd/skillshare/helpers.gocopyFileos.OpenFiledstsource-unmigrated
18cmd/skillshare/helpers.goremoveEmptyDiros.Removedirextras
19cmd/skillshare/init_apply.goapplyInitPlanos.MkdirAlldirsource-root
20cmd/skillshare/init_project.gocreateProjectTargetDirsos.MkdirAllabsPathtarget
21cmd/skillshare/init_project.goensureProjectGitignoreos.WriteFilegitignorePathproject
22cmd/skillshare/init_remote.goinspectRemoteos.MkdirTemptmp
23cmd/skillshare/init_remote.goinspectRemoteos.RemoveAlltmptmp
24cmd/skillshare/json_output.gosuppressUIToDevnullos.OpenFileos.DevNulldevnull
25cmd/skillshare/main.gocleanupOldBinaryos.RemoveoldPathbinary
26cmd/skillshare/new.gocmdNewos.MkdirAlldirPathsource-unmigrated
27cmd/skillshare/new.gocmdNewos.MkdirAllskillDirsource-unmigrated
28cmd/skillshare/new.gocmdNewos.RemoveAllskillDirsource-unmigrated
29cmd/skillshare/new.gocmdNewos.WriteFilegitkeepsource-unmigrated
30cmd/skillshare/new.gocmdNewos.WriteFileskillFilesource-unmigrated
31cmd/skillshare/restore_tui.go(restoreTUIModel).startDeleteos.RemoveAlltsDirbackup
32cmd/skillshare/restore_tui.go(restoreTUIModel).startDeleteos.RemoveAllversion.Dirbackup
33cmd/skillshare/target.gounlinkMergeModeos.RemoveskillPathtarget
34cmd/skillshare/target.gounlinkSymlinkModeos.RemovetargetPathtarget
35cmd/skillshare/target_project.gotargetAddProjectos.MkdirAllabsPathtarget
36cmd/skillshare/ui.goclearCurrentUIStateIfMatchesos.RemovecurrentUIStateFile()config
37cmd/skillshare/ui.goopenUILogos.MkdirAlldirconfig
38cmd/skillshare/ui.gostopUIos.RemoveuiPidFile(opts)config
39cmd/skillshare/ui.gostopUIos.RemoveuiPidFile(opts)config
40cmd/skillshare/ui.gostopUIos.RemoveuiPidFile(opts)config
41cmd/skillshare/ui.gowriteCurrentUIStateos.MkdirAllconfig.CacheDir()config
42cmd/skillshare/ui.gowriteCurrentUIStateos.WriteFilecurrentUIStateFile()config
43cmd/skillshare/ui.gowriteUIPidFileos.MkdirAllconfig.CacheDir()config
44cmd/skillshare/ui.gowriteUIPidFileos.WriteFileuiPidFile(opts)config
45cmd/skillshare/upgrade.godownloadAndReplaceos.RemovearchivePathbinary
46cmd/skillshare/upgrade.godownloadArchiveos.CreateTempbinary
47cmd/skillshare/upgrade.godownloadArchiveos.Removetmp.Name()binary
48cmd/skillshare/upgrade.gowriteBinaryos.ChmodtmpPathbinary
49cmd/skillshare/upgrade.gowriteBinaryos.CreateTempfilepath.Dir(destPath)binary
50cmd/skillshare/upgrade.gowriteBinaryos.RemoveoldPathbinary
51cmd/skillshare/upgrade.gowriteBinaryos.RemoveoldPathbinary
52cmd/skillshare/upgrade.gowriteBinaryos.RemovetmpPathbinary
53cmd/skillshare/upgrade.gowriteBinaryos.RemovetmpPathbinary
54cmd/skillshare/upgrade.gowriteBinaryos.RemovetmpPathbinary
55cmd/skillshare/upgrade.gowriteBinaryos.RemovetmpPathbinary
56cmd/skillshare/upgrade.gowriteBinaryos.RemovetmpPathbinary
57cmd/skillshare/upgrade.gowriteBinaryos.RenamedestPath, oldPathbinary
58cmd/skillshare/upgrade.gowriteBinaryos.RenameoldPath, destPathbinary
59cmd/skillshare/upgrade.gowriteBinaryos.RenametmpPath, destPathbinary
60cmd/skillshare/upgrade.gowriteBinaryos.RenametmpPath, destPathbinary
61internal/audit/patterns.goInitRulesFileos.MkdirAllfilepath.Dir(path)config
62internal/audit/patterns.goInitRulesFileos.WriteFilepathconfig
63internal/audit/rules_mutate.goResetRulesos.Removepathconfig
64internal/audit/rules_mutate.gowriteRulesFileos.MkdirAllfilepath.Dir(path)config
65internal/audit/rules_mutate.gowriteRulesFileos.WriteFilepathconfig
66internal/backup/backup.gocopyDiros.MkdirAlldstbackup
67internal/backup/backup.gocopyFileos.OpenFiledstbackup
68internal/backup/backup.gocreateInDiros.ChmodstagingPathbackup
69internal/backup/backup.gocreateInDiros.MkdirAllbackupDirbackup
70internal/backup/backup.gocreateInDiros.MkdirAlltimestampDirbackup
71internal/backup/backup.gocreateInDiros.MkdirTempbackupDirbackup
72internal/backup/backup.gocreateInDiros.RemoveAllstagingPathbackup
73internal/backup/backup.gocreateInDiros.RenamestagingPath, backupPathbackup
74internal/backup/backup.goremoveDirIfEmptyos.Removepathbackup
75internal/backup/cleanup.gocleanupInDiros.RemoveAllbackup.Pathbackup
76internal/backup/cleanup.gocleanupInDiros.RemoveAllpathbackup
77internal/backup/cleanup.gocleanEmptyDirsos.RemovesubPathbackup
78internal/backup/delete.goDeleteInDiros.RemoveAllpathbackup
79internal/backup/restore.goRestoreToPathos.RemovedestPathtarget
80internal/backup/restore.goRestoreToPathos.RemoveAlldestPathtarget
81internal/check/checktest/fixture.goSeedos.MkdirAlldirtest-helper
82internal/check/tree_check.goFetchRemoteTreeHashesForRefos.MkdirTemptmp
83internal/check/tree_check.goFetchRemoteTreeHashesForRefos.RemoveAlltmpDirtmp
84internal/config/config.godecodeConfigos.RenametmpPath, destconfig
85internal/config/config.godecodeConfigos.WriteFiletmpPathconfig
86internal/config/config.gomigrateSkillsToRegistryos.WriteFileconfigPathconfig
87internal/config/extras_migrate.goMigrateExtrasDiros.RenameoldPath, newPathextras
88internal/config/migrate.gomigrateDiros.MkdirAllfilepath.Dir(newPath)source-root
89internal/config/migrate.gomigrateDiros.RenameoldPath, newPathsource-root
90internal/config/project.go(*ProjectConfig).SaveInos.MkdirAlldirconfig
91internal/config/project.go(*ProjectConfig).SaveInos.WriteFilepathconfig
92internal/config/project.goLoadProjectos.Chmodf.Name()config
93internal/config/project.goLoadProjectos.CreateTempfilepath.Dir(dest)config
94internal/config/project.goLoadProjectos.Removef.Name()config
95internal/config/project.goLoadProjectos.Renamef.Name(), destconfig
96internal/config/registry.go(*Registry).Saveos.MkdirAlldirsource-unmigrated
97internal/config/registry.go(*Registry).Saveos.WriteFilepathsource-unmigrated
98internal/config/registry.goMigrateRegistryToSourceos.RemoveoldPathsource-unmigrated
99internal/config/registry.goMigrateRegistryToSourceos.WriteFilenewPathsource-unmigrated
100internal/config/save_candidate.go(*SaveCandidate).writeos.MkdirAlldirconfig
101internal/config/save_candidate.go(*SaveCandidate).writeos.OpenFiletmpPathconfig
102internal/config/save_candidate.go(*SaveCandidate).writeos.Removetmp.Name()config
103internal/config/save_candidate.go(*SaveCandidate).writeos.Renametmp.Name(), destconfig
104internal/git/info.goresolveMetadataConflictsos.WriteFilefilepath.Join(dir, path)source-unmigrated
105internal/git/scope.goDisableNestedRepoos.RenamegitDir, disabledsource-unmigrated
106internal/git/scope.goInitScopeRepoos.MkdirAlldirsource-unmigrated
107internal/git/scope.goWriteScopeGitignoreos.WriteFilegitignoresource-unmigrated
108internal/git/scope.goWriteScopeGitignoreos.WriteFilegitignoresource-unmigrated
109internal/git/scope.goappendGitignoreLineos.WriteFilegitignoresource-unmigrated
110internal/git/scope.goensureGitignoreEntryos.WriteFilegitignoresource-unmigrated
111internal/git/scope.goensureGitignoreEntryos.WriteFilegitignoresource-unmigrated
112internal/git/scope.goremoveCheckedOutos.Removepathsource-unmigrated
113internal/git/scope.goremoveCheckedOutos.RemoveAllpathsource-unmigrated
114internal/git/scope.gosnapshotConfigos.Chmodpathsource-unmigrated
115internal/git/scope.gosnapshotConfigos.Symlinktarget, pathsource-unmigrated
116internal/git/scope.gosnapshotConfigos.WriteFilepathsource-unmigrated
117internal/hooks/apply.go(*Service).applyScopedos.Removef.pathplugin
118internal/hooks/apply.go(*Service).applyScopedos.Removes.journalPath()plugin
119internal/hooks/apply.go(*Service).applyScopedos.Removes.journalPath()plugin
120internal/hooks/apply.go(*Service).pruneBackupsos.Removefilepath.Join(dir, name)plugin
121internal/hooks/apply.go(*Service).recoverPendingos.Removes.journalPath()plugin
122internal/hooks/apply.goatomicWriteos.CreateTempfilepath.Dir(path)plugin
123internal/hooks/apply.goatomicWriteos.MkdirAllfilepath.Dir(path)plugin
124internal/hooks/apply.goatomicWriteos.Removefile.Name()plugin
125internal/hooks/apply.goatomicWriteos.Renamefile.Name(), pathplugin
126internal/hooks/apply.gopruneCreatedDirsos.Removedirplugin
127internal/hooks/apply.gopruneEmptyDirsos.Removedirplugin
128internal/hooks/git_ops.go(*filePlan).prepareGitWriteos.CreateTempfilepath.Dir(f.path)plugin
129internal/hooks/git_ops.go(*filePlan).prepareGitWriteos.MkdirAllfilepath.Dir(f.path)plugin
130internal/hooks/git_ops.go(*filePlan).prepareGitWriteos.Removef.pathplugin
131internal/hooks/git_ops.go(*filePlan).prepareGitWriteos.RemovestagePathplugin
132internal/hooks/service.go(*Service).lockos.MkdirAlls.stateDir()plugin
133internal/hub/drafts.go(DraftStore).Deleteos.Removepathconfig
134internal/hub/drafts.go(DraftStore).lockedos.MkdirAlls.Dirconfig
135internal/hub/drafts.go(DraftStore).persistos.CreateTemps.Dirconfig
136internal/hub/drafts.go(DraftStore).persistos.Removetmp.Name()config
137internal/hub/drafts.go(DraftStore).persistos.Renametmp.Name(), pathconfig
138internal/hub/index.goWriteIndexos.MkdirAllfilepath.Dir(path)source-unmigrated
139internal/hub/index.goWriteIndexos.WriteFilepathsource-unmigrated
140internal/install/copy.gocopyDirExcludingos.MkdirAlldstPathsource-unmigrated
141internal/install/copy.gocopyFileos.OpenFiledstsource-unmigrated
142internal/install/git_candidate.go(*GitUpdateCandidate).Closeos.RemoveAllc.tempDirtmp
143internal/install/git_candidate.goStageGitUpdateos.MkdirAllfilepath.Dir(dst)tmp
144internal/install/git_candidate.goStageGitUpdateos.MkdirTemptmp
145internal/install/git_candidate.goStageGitUpdateos.Removedsttmp
146internal/install/git_candidate.goStageGitUpdateos.Symlinktarget, dsttmp
147internal/install/gitea_download.gocnbWriteContentItemos.MkdirAlltargetclone
148internal/install/gitea_download.gocnbWriteContentItemos.MkdirAlltargetclone
149internal/install/gitea_download.godownloadCNBDiros.MkdirAlldestDirclone
150internal/install/gitea_download.godownloadGiteaDiros.MkdirAlldestDirclone
151internal/install/gitea_download.gogiteaDownloadDirRecursiveos.MkdirAllchildDirclone
152internal/install/github_download.godownloadDirRecursiveos.MkdirAllchildDirclone
153internal/install/github_download.godownloadGitHubDirWithAPIBaseos.MkdirAlldestDirclone
154internal/install/github_download.gowriteDownloadedFileos.MkdirAllfilepath.Dir(destPath)clone
155internal/install/github_download.gowriteDownloadedFileos.OpenFiledestPathclone
156internal/install/gitignore.gowriteGitignoreLinesos.WriteFilepathsource-unmigrated
157internal/install/install.go<package>os.RemoveAll<ref>source-unmigrated
158internal/install/install.go<package>os.RemoveAll<ref>source-unmigrated
159internal/install/install_apply.goinstallAgentFromDiscoveryInternalos.MkdirTemptmp
160internal/install/install_apply.goinstallAgentFromDiscoveryInternalos.RemoveAlltempDirtmp
161internal/install/install_apply.goinstallFromDiscoveryInternalos.MkdirAllworkDestsource-unmigrated
162internal/install/install_apply.goinstallFromDiscoveryInternalos.MkdirTemptmp
163internal/install/install_apply.goinstallFromDiscoveryInternalos.RemoveAlltempDirtmp
164internal/install/install_apply.goinstallFromGitSubdiros.MkdirTemptmp
165internal/install/install_apply.goinstallFromGitSubdiros.RemoveAlltempRepoPathtmp
166internal/install/install_apply.goinstallFromGitSubdiros.RemoveAlltempRepoPathtmp
167internal/install/install_apply.goinstallFromLocalos.MkdirAlldestPathsource-unmigrated
168internal/install/install_audit.gocleanEmptyInstallParentsos.Removediragents
169internal/install/install_discovery.godiscoverFromGitSubdirWithProgressImplos.MkdirTemptmp
170internal/install/install_discovery.godiscoverFromGitSubdirWithProgressImplos.RemoveAllrepoPathtmp
171internal/install/install_discovery.godiscoverFromGitSubdirWithProgressImplos.RemoveAllrepoPathtmp
172internal/install/install_discovery.godiscoverFromGitSubdirWithProgressImplos.RemoveAlltempDirtmp
173internal/install/install_discovery.godiscoverFromGitSubdirWithProgressImplos.RemoveAlltempDirtmp
174internal/install/install_discovery.godiscoverFromGitWithProgressImplos.MkdirTemptmp
175internal/install/install_git.goShallowCloneToTempos.MkdirTemptmp
176internal/install/install_update.gohandleUpdateos.MkdirTemptmp
177internal/install/install_update.gohandleUpdateos.RemoveAlltempDirtmp
178internal/install/install_update.goupdateRepoRootOrchestratoros.MkdirTemptmp
179internal/install/install_update.goupdateRepoRootOrchestratoros.RemoveAlltempDirtmp
180internal/install/local_changes.goLocalChangesos.MkdirTemptmp
181internal/install/local_changes.goLocalChangesos.RemoveAlltmptmp
182internal/install/lock.go(*Lock).Saveos.Removepathproject
183internal/install/lock.go(*Lock).Saveos.WriteFilepathproject
184internal/install/meta.goWriteMetaos.WriteFilemetaPathsource-unmigrated
185internal/install/metadata.go(*MetadataStore).Saveos.CreateTempdirsource-unmigrated
186internal/install/metadata.go(*MetadataStore).Saveos.MkdirAlldirsource-unmigrated
187internal/install/metadata.go(*MetadataStore).Saveos.RemovetmpNamesource-unmigrated
188internal/install/metadata.go(*MetadataStore).Saveos.RemovetmpNamesource-unmigrated
189internal/install/metadata.go(*MetadataStore).Saveos.RemovetmpNamesource-unmigrated
190internal/install/metadata.go(*MetadataStore).Saveos.RemovetmpNamesource-unmigrated
191internal/install/metadata.go(*MetadataStore).Saveos.RenametmpName, targetsource-unmigrated
192internal/install/metadata_migrate.gowalkAgentSidecarsos.RemovesidecarPathagents
193internal/install/metadata_migrate.gowalkSkillDiros.RemovesidecarPathsource-unmigrated
194internal/instructions/convert.goApplyos.Removec.Pathplugin
195internal/instructions/convert.goWriteFileos.MkdirAllfilepath.Dir(path)plugin
196internal/instructions/convert.goWriteFileos.WriteFilepathplugin
197internal/instructions/project.goApplyShimos.MkdirAllfilepath.Dir(own)plugin
198internal/instructions/project.goApplyShimos.Symlinkrel, ownplugin
199internal/mcp/backups.go(*Service).pruneBackupsos.Removefilepath.Join(dir, name)plugin
200internal/mcp/service.go(*Service).lockos.MkdirAlldirplugin
201internal/mcp/write.go(*Service).applyScopedos.RemovejournalPathplugin
202internal/mcp/write.go(*Service).applyScopedos.RemovejournalPathplugin
203internal/mcp/write.goatomicWriteos.CreateTempfilepath.Dir(path)plugin
204internal/mcp/write.goatomicWriteos.MkdirAllfilepath.Dir(path)plugin
205internal/mcp/write.goatomicWriteos.Removefile.Name()plugin
206internal/mcp/write.goatomicWriteos.Renamefile.Name(), pathplugin
207internal/memory/commit.gocommitNoteos.Renamedraft, pathextras
208internal/memory/commit.gocreateExclusiveos.OpenFilepathextras
209internal/memory/commit.gocreateExclusiveos.Removepathextras
210internal/memory/commit.goremoveNoteos.Removepathextras
211internal/memory/guidance_plan.gocommitGuidanceChangeos.MkdirAllfilepath.Dir(c.Path)plugin
212internal/memory/move.goMoveos.MkdirAllfilepath.Dir(destination)extras
213internal/memory/move.goMoveos.OpenFiledestinationextras
214internal/memory/move.goMoveos.Removedestinationextras
215internal/memory/move.goMoveos.Removesourceextras
216internal/memory/store.goWriteos.CreateTempfilepath.Dir(abs)extras
217internal/memory/store.goWriteos.MkdirAllfilepath.Dir(abs)extras
218internal/memory/store.goWriteos.Removetmp.Name()extras
219internal/oplog/oplog.goClearos.Truncatepathconfig
220internal/oplog/oplog.goWriteos.MkdirAlldirconfig
221internal/oplog/oplog.goWriteos.OpenFilefilepath.Join(dir, filename)config
222internal/oplog/oplog.gorewriteEntriesos.Createtmpconfig
223internal/oplog/oplog.gorewriteEntriesos.Removetmpconfig
224internal/oplog/oplog.gorewriteEntriesos.Removetmpconfig
225internal/oplog/oplog.gorewriteEntriesos.Removetmpconfig
226internal/oplog/oplog.gorewriteEntriesos.Removetmpconfig
227internal/oplog/oplog.gorewriteEntriesos.Renametmp, pathconfig
228internal/plugin/apply.go(*Service).applyChangeos.RemoveAllbackupplugin
229internal/plugin/apply.go(*Service).applyChangeos.RemoveAllfailedplugin
230internal/plugin/apply.go(*Service).applyChangeos.Renamebackup, pathplugin
231internal/plugin/apply.go(*Service).applyChangeos.Renamefailed, pathplugin
232internal/plugin/apply.go(*Service).applyChangeos.Renamepath, failedplugin
233internal/plugin/apply.go(*Service).materializeos.MkdirAllfilepath.Dir(p)plugin
234internal/plugin/apply.go(*Service).materializeos.MkdirAllparentplugin
235internal/plugin/apply.go(*Service).materializeos.MkdirTempparentplugin
236internal/plugin/apply.go(*Service).materializeos.RemoveAlltempplugin
237internal/plugin/apply.go(*Service).materializeos.Renamebackup, expectedplugin
238internal/plugin/apply.go(*Service).materializeos.Renameexpected, backupplugin
239internal/plugin/apply.go(*Service).materializeos.Renametemp, expectedplugin
240internal/plugin/apply.go(*Service).materializeos.WriteFilepplugin
241internal/plugin/config.go(*Service).saveos.CreateTempfilepath.Dir(path)plugin
242internal/plugin/config.go(*Service).saveos.MkdirAllfilepath.Dir(path)plugin
243internal/plugin/config.go(*Service).saveos.Removef.Name()plugin
244internal/plugin/config.go(*Service).saveos.Renamef.Name(), pathplugin
245internal/plugin/lifecycle.go(*Service).Lockos.MkdirAllfilepath.Dir(path)config
246internal/plugin/lifecycle.go(*Service).Lockos.OpenFilepathconfig
247internal/plugin/lifecycle.go(*Service).Lockos.Removepathconfig
248internal/plugin/local_bundle.go(*Service).applyLocalos.MkdirAllrootplugin
249internal/plugin/local_bundle.go(*Service).applyLocalos.MkdirTemprootplugin
250internal/plugin/local_bundle.go(*Service).applyLocalos.Removemarkerplugin
251internal/plugin/local_bundle.go(*Service).applyLocalos.RemoveAllbackupplugin
252internal/plugin/local_bundle.go(*Service).applyLocalos.RemoveAlldestplugin
253internal/plugin/local_bundle.go(*Service).applyLocalos.RemoveAlltempplugin
254internal/plugin/local_bundle.go(*Service).applyLocalos.Renamebackup, destplugin
255internal/plugin/local_bundle.go(*Service).applyLocalos.Renamedest, backupplugin
256internal/plugin/local_bundle.go(*Service).applyLocalos.Renametemp, destplugin
257internal/plugin/local_bundle.goatomicNativeWriteos.CreateTempfilepath.Dir(path)plugin
258internal/plugin/local_bundle.goatomicNativeWriteos.MkdirAllfilepath.Dir(path)plugin
259internal/plugin/local_bundle.goatomicNativeWriteos.Removef.Name()plugin
260internal/plugin/local_bundle.goatomicNativeWriteos.Renamef.Name(), pathplugin
261internal/plugin/omp_extensions_write.go(*Service).ApplyOMPExtensionsos.MkdirAllparentplugin
262internal/plugin/omp_extensions_yaml.go(*Service).ompBackupos.MkdirAlldirplugin
263internal/plugin/package_config.go(*Service).applyOpenCodeos.MkdirAllfilepath.Dir(path)plugin
264internal/plugin/pi_extensions_lock.go(*piNativeLock).releaseos.Removel.pathplugin
265internal/plugin/pi_extensions_lock.goacquirePiNativeLockos.Mkdirpathplugin
266internal/plugin/pi_extensions_lock.goacquirePiNativeLockos.Mkdirpathplugin
267internal/plugin/pi_extensions_write.go(*Service).piBackupos.MkdirAlldirplugin
268internal/plugin/pi_extensions_write.go(*Service).piBackupos.Removerecordplugin
269internal/plugin/pi_registration_private_other.gomakePiRegistrationDiros.MkdirAllpathplugin
270internal/plugin/pi_registration_private_windows.gomakePiRegistrationDiros.MkdirAllfilepath.Dir(path)plugin
271internal/plugin/source.goacquireRefos.MkdirTempplugin
272internal/plugin/source.goacquireRefos.RemoveAllrootplugin
273internal/plugin/source.gocopyTreeos.MkdirAlltoplugin
274internal/plugin/source.gocopyTreeos.Symlinklink, toplugin
275internal/plugin/source.gocopyTreeos.WriteFiletoplugin
276internal/projects/lock.golockPathos.MkdirAlldirconfig
277internal/resource/agent.go(AgentKind).CreateLinkos.Symlinksrc, dsttarget
278internal/resource/skill.go(SkillKind).CreateLinkos.Symlinksrc, dsttarget
279internal/search/index.goreadIndexFromGitCloneos.RemoveAlldirtmp
280internal/search/preview.gofetchViaCloneos.RemoveAlldirtmp
281internal/server/handler_agentignore.go(*Server).handlePutAgentignoreos.MkdirAllresolvedagents
282internal/server/handler_agentignore.go(*Server).handlePutAgentignoreos.RemoveignorePathagents
283internal/server/handler_agentignore.go(*Server).handlePutAgentignoreos.WriteFileignorePathagents
284internal/server/handler_audit.go(*Server).handlePutAuditRulesos.MkdirAllfilepath.Dir(path)config
285internal/server/handler_audit.go(*Server).handlePutAuditRulesos.WriteFilepathconfig
286internal/server/handler_config.go(*Server).handlePutConfigos.WriteFilepathconfig
287internal/server/handler_create_skill.go(*Server).handleCreateSkillos.MkdirAlldirPathsource-unmigrated
288internal/server/handler_create_skill.go(*Server).handleCreateSkillos.MkdirAllskillDirsource-unmigrated
289internal/server/handler_create_skill.go(*Server).handleCreateSkillos.RemoveAllskillDirsource-unmigrated
290internal/server/handler_create_skill.go(*Server).handleCreateSkillos.RemoveAllskillDirsource-unmigrated
291internal/server/handler_create_skill.go(*Server).handleCreateSkillos.RemoveAllskillDirsource-unmigrated
292internal/server/handler_create_skill.go(*Server).handleCreateSkillos.WriteFilegitkeepsource-unmigrated
293internal/server/handler_create_skill.go(*Server).handleCreateSkillos.WriteFileskillFilesource-unmigrated
294internal/server/handler_extensions.go(*Server).handleExtensionsOpenos.MkdirAlldirplugin
295internal/server/handler_extensions.go(*Server).handleExtensionsRemoveos.RemoveAllpathplugin
296internal/server/handler_extras.go(*Server).handleExtrasCreateos.MkdirAllsourceDirextras
297internal/server/handler_skill_content.gowriteFileAtomicos.CreateTempdiragents
298internal/server/handler_skill_content.gowriteFileAtomicos.RemovetmpPathagents
299internal/server/handler_skill_content.gowriteFileAtomicos.RenametmpPath, pathagents
300internal/server/handler_skillignore.go(*Server).handlePutSkillignoreos.RemoveignorePathsource-unmigrated
301internal/server/handler_skillignore.go(*Server).handlePutSkillignoreos.WriteFileignorePathsource-unmigrated
302internal/skillignore/write.goAddPatternos.MkdirAllfilepath.Dir(filePath)source-unmigrated
303internal/skillignore/write.goAddPatternos.WriteFilefilePathsource-unmigrated
304internal/skillignore/write.goRemovePatternos.WriteFilefilePathsource-unmigrated
305internal/skillserve/edit.go(*service).checkos.MkdirTemptmp
306internal/skillserve/edit.go(*service).checkos.RemoveAlltmptmp
307internal/skillserve/edit.gowriteCopyos.MkdirAllfilepath.Dir(path)tmp
308internal/skillserve/edit.gowriteCopyos.WriteFilepathtmp
309internal/sourcefs/sourcefs.go(*Root).MoveInos.Renamesrc, filepath.Join(r.dir, name)sourcefs
310internal/sourcefs/sourcefs.go(*Root).moveInAnchoredos.RemoveAllsrcsourcefs
311internal/sourcefs/sourcefs.goCreateos.MkdirAlldirsourcefs
312internal/sync/agent_sync.goPruneOrphanAgentLinksos.Removefilepath.Join(targetDir, name)target
313internal/sync/agent_sync.goPullAgentos.RemoveAlldestPathagents
314internal/sync/agent_sync.goPullAgentos.WriteFiledestPathagents
315internal/sync/agent_sync.goPullAgentsos.MkdirAllsourcePathagents
316internal/sync/agent_sync.goSyncAgentsTransformos.MkdirAlltargetDirtarget
317internal/sync/agent_sync.goSyncAgentsTransformos.RemovetargetDirtarget
318internal/sync/agent_sync.goSyncAgentsTransformos.RemovetgtFiletarget
319internal/sync/agent_sync.goSyncAgentsTransformos.RemovetgtFiletarget
320internal/sync/agent_sync.goSyncAgentsTransformos.WriteFiletgtFiletarget
321internal/sync/agent_sync.gosyncAgentsCopyos.MkdirAlltargetDirtarget
322internal/sync/agent_sync.gosyncAgentsCopyos.RemovetargetPathtarget
323internal/sync/agent_sync.gosyncAgentsCopyos.WriteFiletargetPathtarget
324internal/sync/agent_sync.gosyncAgentsCopyos.WriteFiletargetPathtarget
325internal/sync/agent_sync.gosyncAgentsCopyos.WriteFiletargetPathtarget
326internal/sync/agent_sync.gosyncAgentsMergeos.MkdirAlltargetDirtarget
327internal/sync/agent_sync.gosyncAgentsMergeos.RemovetargetPathtarget
328internal/sync/agent_sync.gosyncAgentsMergeos.RemovetargetPathtarget
329internal/sync/agent_sync.gosyncAgentsMergeCopyos.MkdirAlltargetDirtarget
330internal/sync/agent_sync.gosyncAgentsMergeCopyos.RemovetargetPathtarget
331internal/sync/agent_sync.gosyncAgentsSymlinkos.MkdirAllfilepath.Dir(targetDir)target
332internal/sync/agent_sync.gosyncAgentsSymlinkos.RemovetargetDirtarget
333internal/sync/agent_sync.gosyncAgentsSymlinkos.RemoveAlltargetDirtarget
334internal/sync/copy.gopruneOrphanCopiesWithConfigos.RemoveAllentryPathtarget
335internal/sync/copy.goSyncTargetCopyWithSkillsOptionsos.RemovetargetSkillPathtarget
336internal/sync/copy.goSyncTargetCopyWithSkillsOptionsos.RemoveAlltargetSkillPathtarget
337internal/sync/copy.goSyncTargetCopyWithSkillsOptionsos.RemoveAlltargetSkillPathtarget
338internal/sync/copy.gocopySkillToTargetos.ChmodskillFiletarget
339internal/sync/copy.gocopySkillToTargetos.ChmodskillFiletarget
340internal/sync/copy.gocopySkillToTargetos.RemoveAlldsttarget
341internal/sync/detach_target.go<package>os.Remove<ref>target
342internal/sync/detach_target.gocopySkillDiros.MkdirAlldstPathtarget
343internal/sync/detach_target.gocopySkillDiros.OpenFiledstPathtarget
344internal/sync/extension.gorunExtensionFileos.MkdirAllfilepath.Dir(tgtFile)target
345internal/sync/extension.gorunExtensionFileos.WriteFiletgtFiletarget
346internal/sync/extras.goCollectExtraFilesos.MkdirAllfilepath.Dir(destPath)extras
347internal/sync/extras.goCollectExtraFilesos.MkdirAllsourceDirextras
348internal/sync/extras.goCollectExtraFilesos.Removepathextras
349internal/sync/extras.goCollectExtraFilesos.WriteFiledestPathextras
350internal/sync/extras.gocleanEmptyParentsos.Removedirtarget
351internal/sync/extras.gopruneExtraManagedFilesos.Removepathtarget
352internal/sync/extras.gopruneExtraOrphansos.Removepathtarget
353internal/sync/extras.gopruneExtraSymlinkTargetos.RemovetargetPathtarget
354internal/sync/extras.gosyncExtraSymlinkModeos.MkdirAllfilepath.Dir(targetPath)target
355internal/sync/extras.gosyncExtraSymlinkModeos.RemovetargetPathtarget
356internal/sync/extras.gosyncExtraSymlinkModeos.RemoveAlltargetPathtarget
357internal/sync/extras.gosyncExtraTransformos.MkdirAllfilepath.Dir(tgtFile)target
358internal/sync/extras.gosyncExtraTransformos.RemovetgtFiletarget
359internal/sync/extras.gosyncExtraTransformos.RemoveAlltgtFiletarget
360internal/sync/extras.gosyncExtraTransformos.WriteFiletgtFiletarget
361internal/sync/extras.gosyncOneExtraFileos.MkdirAllfilepath.Dir(tgtFile)target
362internal/sync/extras.gosyncOneExtraFileos.RemovetgtFiletarget
363internal/sync/extras_backup.gobackupExtraDriftos.MkdirAlldirbackup
364internal/sync/extras_backup.gobackupExtraDriftos.WriteFilefilepath.Join(dir, name)backup
365internal/sync/extras_backup.goclearExtraAttachos.Removefilepath.Join(dir, name)backup
366internal/sync/extras_backup.goclearExtraImportBaseos.Removefilepath.Join(extraBackupDir(path), extraImportBase)backup
367internal/sync/extras_backup.goclearExtraWrittenos.Removefilepath.Join(extraBackupDir(path), extraWritten)backup
368internal/sync/extras_backup.gopruneExtraBackupsos.Removefilepath.Join(dir, names[0])backup
369internal/sync/extras_backup.goputBackExtraRestorePointos.Symlinkstring(dest), pathbackup
370internal/sync/extras_backup.goputBackExtraRestorePointos.WriteFilepathbackup
371internal/sync/extras_backup.gorecordExtraAttachos.MkdirAlldirbackup
372internal/sync/extras_backup.gorecordExtraAttachos.WriteFilefilepath.Join(dir, name)backup
373internal/sync/extras_backup.gorecordExtraImportBaseos.MkdirAlldirbackup
374internal/sync/extras_backup.gorecordExtraImportBaseos.WriteFilefilepath.Join(dir, extraImportBase)backup
375internal/sync/extras_backup.gorecordExtraWrittenos.WriteFilefilepath.Join(extraBackupDir(path), extraWritten)backup
376internal/sync/extras_backup.gostoreExtraBackupos.MkdirAlldirbackup
377internal/sync/extras_backup.gostoreExtraBackupos.WriteFilefilepath.Join(dir, name)backup
378internal/sync/extras_block.goapplyExtraBlockos.MkdirAllfilepath.Dir(f.Target)target
379internal/sync/extras_block.goapplyExtraBlockos.Removef.Targettarget
380internal/sync/extras_block.goapplyExtraBlockos.WriteFilef.Targettarget
381internal/sync/extras_block.gocollectExtraBlockos.WriteFilef.Sourceextras
382internal/sync/extras_block.gorestoreExtraBlockos.Removef.Targettarget
383internal/sync/extras_block.gorestoreExtraBlockos.WriteFilef.Targettarget
384internal/sync/extras_file.goCollectBackExtraFileos.MkdirAllfilepath.Dir(f.Source)extras
385internal/sync/extras_file.goCollectBackExtraFileos.WriteFilef.Sourceextras
386internal/sync/extras_file.goRestoreExtraTargetos.Removef.Targettarget
387internal/sync/extras_file.goRestoreExtraTargetos.Removef.Targettarget
388internal/sync/extras_file.goreplaceDriftedTargetos.Removef.Targettarget
389internal/sync/extras_file.gorestoreExtraImportos.Removef.Targettarget
390internal/sync/extras_file.gorestoreExtraImportos.Removef.Targettarget
391internal/sync/extras_file.gorestoreExtraImportos.WriteFilef.Targettarget
392internal/sync/extras_file.gosyncExtraFileReplaceos.MkdirAllfilepath.Dir(f.Target)target
393internal/sync/extras_file.gosyncExtraFileReplaceos.Removef.Targettarget
394internal/sync/extras_file.gosyncExtraFileReplaceos.Removef.Targettarget
395internal/sync/extras_file.gosyncExtraFileReplaceos.WriteFilef.Targettarget
396internal/sync/extras_file.gosyncExtraImportos.MkdirAllfilepath.Dir(f.Target)target
397internal/sync/extras_file.gosyncExtraImportos.Removef.Targettarget
398internal/sync/extras_file.gosyncExtraImportos.WriteFilef.Targettarget
399internal/sync/file_backups.goRestoreFileBackupos.MkdirAllfilepath.Dir(path)target
400internal/sync/file_backups.goRestoreFileBackupos.MkdirAllfilepath.Dir(path)target
401internal/sync/file_backups.goRestoreFileBackupos.Removepathtarget
402internal/sync/file_backups.goRestoreFileBackupos.Removepathtarget
403internal/sync/file_backups.goRestoreFileBackupos.Removepathtarget
404internal/sync/file_backups.goRestoreFileBackupos.Symlinkv.LinkTo, pathtarget
405internal/sync/file_backups.goRestoreFileBackupos.WriteFilepathtarget
406internal/sync/filelink.go(*copyTracker).pruneOrphansos.Removefilepath.Join(t.dir, rel)target
407internal/sync/manifest.goRemoveManifestos.Removefilepath.Join(targetPath, ManifestFile)target
408internal/sync/manifest.goWriteManifestos.WriteFilefilepath.Join(targetPath, ManifestFile)target
409internal/sync/pull.goPullSkillos.RemoveAlldestPathsource-unmigrated
410internal/sync/relative.goreformatLinkos.RemovelinkPathtarget
411internal/sync/relative.goreformatLinkos.RemovetmpPathtarget
412internal/sync/relative.goreformatLinkos.RemovetmpPathtarget
413internal/sync/relative.goreformatLinkos.RenametmpPath, linkPathtarget
414internal/sync/skill_run.goSyncSkillTargetos.Removesc.Pathtarget
415internal/sync/skills_off.goDetachSkillsos.RemoveentryPathtarget
416internal/sync/skills_off.goDetachSkillsos.Removefoldertarget
417internal/sync/symlink_unix.gocreateLinkos.Symlinktarget, linkPathtarget
418internal/sync/symlink_windows.gocanCreateRelativeLinkos.Mkdirtargettmp
419internal/sync/symlink_windows.gocanCreateRelativeLinkos.MkdirTemptmp
420internal/sync/symlink_windows.gocanCreateRelativeLinkos.RemoveAlldirtmp
421internal/sync/symlink_windows.gocreateLinkos.SymlinkabsSource, absTargettarget
422internal/sync/symlink_windows.gocreateLinkos.SymlinkabsSource, absTargettarget
423internal/sync/symlink_windows.gocreateLinkos.Symlinkrel, linkPathtarget
424internal/sync/symlink_windows.goplatformCanCreateFileLinkos.MkdirTemptmp
425internal/sync/symlink_windows.goplatformCanCreateFileLinkos.RemoveAlldirtmp
426internal/sync/symlink_windows.goplatformCanCreateFileLinkos.WriteFiletargettmp
427internal/sync/sync.goCreateSymlinkos.MkdirAllfilepath.Dir(targetPath)target
428internal/sync/sync.goMigrateToSourceos.MkdirAllfilepath.Dir(sourcePath)source-unmigrated
429internal/sync/sync.goMigrateToSourceos.RemoveAlltargetPathtarget
430internal/sync/sync.goMigrateToSourceos.RemoveAlltargetPathtarget
431internal/sync/sync.goMigrateToSourceos.RenametargetPath, sourcePathsource-unmigrated
432internal/sync/sync.goPruneOrphanLinksWithSkillsos.RemoveAllentryPathtarget
433internal/sync/sync.goSyncTargetos.Removesc.Pathtarget
434internal/sync/sync.goSyncTargetMergeWithSkillsos.RemovetargetSkillPathtarget
435internal/sync/sync.gocopyDirectoryWithStateos.MkdirAlldstPathsource-unmigrated
436internal/sync/sync.gocopyFileos.OpenFiledstsource-unmigrated
437internal/sync/sync.goensureRealTargetDiros.MkdirAlltargetPathtarget
438internal/sync/sync.goensureRealTargetDiros.MkdirAlltargetPathtarget
439internal/sync/sync.goensureRealTargetDiros.RemovetargetPathtarget
440internal/sync/sync.gomergeDirectoriesos.MkdirAlldstPathsource-unmigrated
441internal/sync/sync.goreplaceWithLinkos.Removepathtarget
442internal/sync/sync.goreplaceWithLinkos.RemoveAllparkedtarget
443internal/sync/sync.goreplaceWithLinkos.Renameparked, pathtarget
444internal/sync/sync.goreplaceWithLinkos.Renamepath, parkedtarget
445internal/sync/target_naming_migration.goselectActiveTargetNameForSyncos.RenamelegacyPath, desiredPathtarget
446internal/sync/target_naming_migration.goselectActiveTargetNameForSyncos.RenamedesiredPath, legacyPathtarget
447internal/testutil/git_helpers.goSeedRemoteBranchos.MkdirAllfilepath.Dir(full)test-helper
448internal/testutil/git_helpers.goSeedRemoteBranchos.WriteFilefulltest-helper
449internal/testutil/testutil.go(*Sandbox).CreateNestedSkillos.MkdirAllskillDirtest-helper
450internal/testutil/testutil.go(*Sandbox).CreateNestedSkillos.WriteFilepathtest-helper
451internal/testutil/testutil.go(*Sandbox).CreateProjectSkillos.MkdirAllskillDirtest-helper
452internal/testutil/testutil.go(*Sandbox).CreateProjectSkillos.WriteFilepathtest-helper
453internal/testutil/testutil.go(*Sandbox).CreateSkillos.MkdirAllskillDirtest-helper
454internal/testutil/testutil.go(*Sandbox).CreateSkillos.WriteFilepathtest-helper
455internal/testutil/testutil.go(*Sandbox).CreateSymlinkos.MkdirAlldirtest-helper
456internal/testutil/testutil.go(*Sandbox).CreateSymlinkos.Symlinktarget, linktest-helper
457internal/testutil/testutil.go(*Sandbox).CreateTargetos.MkdirAllpathtest-helper
458internal/testutil/testutil.go(*Sandbox).SetupProjectDiros.MkdirAlldirtest-helper
459internal/testutil/testutil.go(*Sandbox).SetupProjectDiros.MkdirAllfilepath.Join(projectRoot, p)test-helper
460internal/testutil/testutil.go(*Sandbox).WriteConfigos.MkdirAlldirtest-helper
461internal/testutil/testutil.go(*Sandbox).WriteConfigos.WriteFilesb.ConfigPathtest-helper
462internal/testutil/testutil.go(*Sandbox).WriteFileos.MkdirAlldirtest-helper
463internal/testutil/testutil.go(*Sandbox).WriteFileos.WriteFilepathtest-helper
464internal/testutil/testutil.go(*Sandbox).WriteProjectConfigos.MkdirAlldirtest-helper
465internal/testutil/testutil.go(*Sandbox).WriteProjectConfigos.WriteFilepathtest-helper
466internal/testutil/testutil.goNewSandboxos.MkdirAlldirtest-helper
467internal/trash/trash.goDeleteos.RemoveMetadataFile(entryPath)trash
468internal/trash/trash.goDeleteos.RemoveAllentryPathtrash
469internal/trash/trash.goMoveAgentToTrashos.MkdirAlltrashDirtrash
470internal/trash/trash.goMoveAgentToTrashos.RemoveagentFileagents
471internal/trash/trash.goMoveAgentToTrashos.RemovemetaFileagents
472internal/trash/trash.goMoveAgentToTrashos.RenameagentFile, destFileagents
473internal/trash/trash.goMoveAgentToTrashos.RenamemetaFile, destMetaagents
474internal/trash/trash.goMoveAgentToTrashos.WriteFiledestFiletrash
475internal/trash/trash.goMoveAgentToTrashos.WriteFiledestMetatrash
476internal/trash/trash.goMoveToTrashos.Rename<ref>source-checked
477internal/trash/trash.goRestoreos.Rename<ref>source-unmigrated
478internal/trash/trash.goRestoreAgentos.MkdirAlltargetDiragents
479internal/trash/trash.goRestoreAgentos.RemoveAllentry.Pathtrash
480internal/trash/trash.goRestoreAgentos.RenamesrcPath, destPathagents
481internal/trash/trash.goRestoreAgentos.WriteFiledestPathagents
482internal/trash/trash.gocleanEmptyParentsos.Removedirtrash
483internal/trash/trash.gocopyDiros.MkdirAlldstsource-unmigrated
484internal/trash/trash.gocopyFileos.OpenFiledstsource-unmigrated
485internal/trash/trash.gomoveLinkos.Removedstsource-unmigrated
486internal/trash/trash.gomoveLinkos.Removesrcsource-checked
487internal/trash/trash.gomoveToTrashos.MkdirAllfilepath.Dir(trashPath)trash
488internal/trash/trash.gomoveToTrashos.RemoveAllsrcPathsource-checked
489internal/trash/trash.gorecreateLinkos.Symlinktarget, dstsource-unmigrated
490internal/trash/trash.gorestoreos.RemoveAllentry.Pathtrash
491internal/uidist/uidist.goClearCacheos.RemoveAlldirconfig
492internal/uidist/uidist.goClearVersionos.RemoveAlldirconfig
493internal/uidist/uidist.goDownloados.MkdirAlldirconfig
494internal/uidist/uidist.goDownloados.RemovetmpFileconfig
495internal/uidist/uidist.goDownloados.RemoveAlldirconfig
496internal/uidist/uidist.gocleanOldVersionsos.RemoveAllfilepath.Join(uiDir, e.Name())config
497internal/uidist/uidist.godownloadToTempos.CreateTempconfig
498internal/uidist/uidist.godownloadToTempos.Removetmp.Name()config
499internal/uidist/uidist.goextractTarGzos.MkdirAllfilepath.Dir(target)config
500internal/uidist/uidist.goextractTarGzos.MkdirAlltargetconfig
501internal/uidist/uidist.goextractTarGzos.OpenFiletargetconfig
502internal/uninstall/uninstall.gorestoreMetadataos.Removefiletrash
503internal/uninstall/uninstall.gosaveMetadataos.WriteFiletrash.MetadataFile(trashPath)trash
504internal/utils/frontmatter_write.goSetFrontmatterListos.WriteFilefilePathsource-unmigrated
505internal/utils/frontmatter_write.goSetFrontmatterValueos.WriteFilefilePathtarget
506internal/utils/frontmatter_write.goSetFrontmatterValueos.WriteFilefilePathtarget
507internal/utils/frontmatter_write.goToggleFrontmatterFlagos.WriteFilefilePathsource-unmigrated
508internal/utils/frontmatter_write.goToggleFrontmatterFlagos.WriteFilefilePathsource-unmigrated
509internal/utils/link_windows.goCreateJunctionos.MkdirlinkPathsource-unmigrated
510internal/utils/link_windows.goCreateJunctionos.RemovelinkPathsource-unmigrated
511internal/version/check.goClearCacheos.RemovegetCachePath()config
512internal/version/check.gocleanupLegacyCacheos.RemovelegacyPathconfig
513internal/version/check.gocleanupLegacyCacheos.RemoveparentDirconfig
514internal/version/check.gosaveCacheAtos.MkdirAllfilepath.Dir(cachePath)config
515internal/version/check.gosaveCacheAtos.WriteFilecachePathconfig
516internal/config/config.go(*Config).Saveos.MkdirAlldirconfig
517internal/config/config.go(*Config).Saveos.WriteFilepathconfig
518internal/plugin/state.go(*Service).saveStateos.MkdirAlls.managedRoot()config