MCPcopy Create free account
hub / github.com/codeaashu/claude-code / clearSkillCaches

Function clearSkillCaches

src/skills/loadSkillsDir.ts:806–811  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

804)
805
806export function clearSkillCaches() {
807 getSkillDirCommands.cache?.clear?.()
808 loadMarkdownFilesForSubdir.cache?.clear?.()
809 conditionalSkills.clear()
810 activatedConditionalSkillNames.clear()
811}
812
813// Backwards-compatible aliases for tests
814export { getSkillDirCommands as getCommandDirCommands }

Callers 2

clearCommandsCacheFunction · 0.85
scheduleReloadFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected