From cf43cf1b47bfcd4368615abc4be3ec98434bd09d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=89=E6=BE=9C?= Date: Mon, 17 Aug 2026 14:41:55 +0800 Subject: [PATCH] style: gofmt alignment after adding skillPathSameFileIdentity seam --- internal/upgrade/skill_path_move.go | 40 ++++++++++++++--------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/internal/upgrade/skill_path_move.go b/internal/upgrade/skill_path_move.go index 8189474d..0f35467c 100644 --- a/internal/upgrade/skill_path_move.go +++ b/internal/upgrade/skill_path_move.go @@ -11,29 +11,29 @@ import ( ) var ( - skillPathRename = func(src, dst string) error { return upgradeRename(src, dst) } - skillPathRenameNoReplace = renameSkillPathNoReplace - skillPathCopy = copySkillPathLexically - skillPathVerify = verifySkillPathCopy - skillPathRemoveAll = os.RemoveAll - skillPathMkdirAll = os.MkdirAll - skillPathMkdirTemp = os.MkdirTemp - skillPathChmod = os.Chmod - skillPathLstat = os.Lstat - skillPathMkdir = os.Mkdir - skillPathLink = os.Link - skillPathRemove = os.Remove - skillPathReadDir = os.ReadDir + skillPathRename = func(src, dst string) error { return upgradeRename(src, dst) } + skillPathRenameNoReplace = renameSkillPathNoReplace + skillPathCopy = copySkillPathLexically + skillPathVerify = verifySkillPathCopy + skillPathRemoveAll = os.RemoveAll + skillPathMkdirAll = os.MkdirAll + skillPathMkdirTemp = os.MkdirTemp + skillPathChmod = os.Chmod + skillPathLstat = os.Lstat + skillPathMkdir = os.Mkdir + skillPathLink = os.Link + skillPathRemove = os.Remove + skillPathReadDir = os.ReadDir skillPathFileIdentity = skillPathFileIdentityImpl skillPathFileIncarnation = skillPathFileIncarnationImpl skillPathSameFileIdentity = skillPathSameFileIdentityImpl - skillPathReadlink = os.Readlink - skillPathSymlink = os.Symlink - skillPathOpen = os.Open - skillPathOpenFile = os.OpenFile - skillPathCopyBytes = io.Copy - skillPathSync = func(file *os.File) error { return file.Sync() } - skillPathWalkDir = filepath.WalkDir + skillPathReadlink = os.Readlink + skillPathSymlink = os.Symlink + skillPathOpen = os.Open + skillPathOpenFile = os.OpenFile + skillPathCopyBytes = io.Copy + skillPathSync = func(file *os.File) error { return file.Sync() } + skillPathWalkDir = filepath.WalkDir ) // moveSkillPathRecoverably moves one managed Skill path without weakening the