MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / objectFileMatchesArchPath

Function objectFileMatchesArchPath

scripts/experimental/swiftui-preview.mjs:915–921  ·  view source on GitHub ↗
(file, arch)

Source from the content-addressed store, hash-verified

913}
914
915function objectFileMatchesArchPath(file, arch) {
916 const normalized = file.split(path.sep).join("/");
917 return (
918 normalized.includes(`/Objects-normal/${arch}/`) ||
919 !normalized.includes("/Objects-normal/")
920 );
921}
922
923function* walkFiles(root) {
924 for (const entry of fs.readdirSync(root, { withFileTypes: true })) {

Callers 1

collectXcodeObjectFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected