Eliminate the unused --delete-local option and related code from the filesystem migration script to prevent accidental local data removal. Introduce a cleanupClaimedLegacyFsSources utility for removing legacy filesystem sources after claim, and integrate it into the user claim flow. Add unit tests to verify the cleanup logic. |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| contexts | ||
| db | ||
| hooks | ||
| lib | ||
| types | ||
| middleware.ts | ||