MCPcopy Create free account
hub / github.com/EdgeTX/buddy / isModelTextFile

Function isModelTextFile

src/shared/firmware-constants.ts:47–48  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

45 * Checks if a filename is a valid model text file (e.g. notes bundled by Companion).
46 */
47export const isModelTextFile = (name: string): boolean =>
48 name.endsWith(".txt") && !name.startsWith("._");

Callers 2

restoreBackupToDirectoryFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected