refactor(shared): remove unused exports from paths.ts #168
No reviewers
Labels
No labels
good first issue
has-pr
help wanted
idea
priority
critical
priority
high
priority
low
priority
medium
status
blocked
status
in-progress
status
needs-review
status
ready
type
bug
type
docs
type
enhancement
type
feature
type
refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
customable/claude-mem!168
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor/129-cleanup-paths"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Remove 14 unused constants and 8 unused functions from paths.ts.
Reduced file from 226 lines to 42 lines (-184 lines, -81%).
Removed Constants:
USER_SETTINGS_PATH,DB_PATH,VECTOR_DB_DIRCLAUDE_SETTINGS_PATH,CLAUDE_MD_PATH,CLAUDE_CREDENTIALS_PATHARCHIVES_DIR,LOGS_DIR,TRASH_DIR,BACKUPS_DIR,MODES_DIRCLAUDE_COMMANDS_DIR,PLUGINS_DIR,MARKETPLACE_ROOTRemoved Functions:
getProjectArchiveDir,ensureAllDataDirs,ensureModesDirensureAllClaudeDirs,getCurrentProjectName,createBackupFilenamegetVersion,resetVersionCacheKept (deprecated, for compatibility):
DATA_DIRCLAUDE_CONFIG_DIRensureDirutilityAll path configuration is now handled via
settings.tswhich provides environment variable overrides.Refs #129
Test Plan
pnpm run typecheckpassesPull request closed