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

Function walkFiles

scripts/experimental/swiftui-preview.mjs:923–932  ·  view source on GitHub ↗
(root)

Source from the content-addressed store, hash-verified

921}
922
923function* walkFiles(root) {
924 for (const entry of fs.readdirSync(root, { withFileTypes: true })) {
925 const fullPath = path.join(root, entry.name);
926 if (entry.isDirectory()) {
927 yield* walkFiles(fullPath);
928 } else if (entry.isFile()) {
929 yield fullPath;
930 }
931 }
932}
933
934function pushSearchArgs(args, flag, values) {
935 for (const value of values) {

Callers 1

collectXcodeObjectFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected