MCPcopy Index your code
hub / github.com/NativeScript/nativescript-sdk-examples-js / compareFiles

Function compareFiles

scripts/build.js:26–30  ·  view source on GitHub ↗
(leftFile, rightFile)

Source from the content-addressed store, hash-verified

24}
25
26function compareFiles(leftFile, rightFile) {
27 var l = prettify(path.basename(path.dirname(leftFile)));
28 var r = prettify(path.basename(path.dirname(rightFile)));
29 return l.localeCompare(r, "en-US");
30}
31
32// Sort the examples based on the example-order defined in metadata.md. The missing example will be sort aphabetically at the end
33// Example:

Callers

nothing calls this directly

Calls 1

prettifyFunction · 0.85

Tested by

no test coverage detected