- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Split (0.11 sec)
-
.cm/plugins/filters/byCodeowner/index.js
} function codeownersMapping(data) { return data .toString() .split('\n') .filter(x => x && !x.startsWith('#')) .map(x => x.split("#")[0]) .map(x => { const line = x.trim(); const [path, ...owners] = line.split(/\s+/); return {path, owners}; }); } function resolveCodeowners(mapping, file) {
JavaScript - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Mon Apr 22 19:12:32 GMT 2024 - 2.8K bytes - Viewed (0) -
.cm/plugins/filters/byPlatform/index.js
}); return result; } function getPlatform(file) { let result = null; // Default to null in case no platform is found if (file.startsWith('platforms/')) { const parts = file.split('/'); result = parts[1]; } console.log(file + " = " + result); return result; }
JavaScript - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Mon Apr 22 16:47:29 GMT 2024 - 1K bytes - Viewed (0)