MCPcopy Create free account
hub / github.com/TanStack/cli / shouldSkipFile

Method shouldSkipFile

packages/cli/src/file-syncer.ts:213–229  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

211 }
212
213 private shouldSkipFile(name: string): boolean {
214 const skipFiles = [
215 '.DS_Store',
216 'Thumbs.db',
217 'desktop.ini',
218 '.cta.json', // Skip .cta.json as it contains framework ID that changes each build
219 ]
220
221 const skipExtensions = ['.log', '.lock', '.pid', '.seed', '.sqlite']
222
223 if (skipFiles.includes(name)) {
224 return true
225 }
226
227 const ext = path.extname(name).toLowerCase()
228 return skipExtensions.includes(ext)
229 }
230
231 private async deleteRemovedFiles(
232 targetDir: string,

Callers 1

syncDirectoryMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected