forked from olcxjas-softworks/LarpixClient
Update gitignore (sorry)
This commit is contained in:
parent
a8f8c4d7ad
commit
cca8b02fea
6604 changed files with 1219661 additions and 4 deletions
12
electron/node_modules/dir-compare/src/nameCompare/defaultNameCompare.js
generated
vendored
Normal file
12
electron/node_modules/dir-compare/src/nameCompare/defaultNameCompare.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
module.exports = function compareName(name1, name2, options) {
|
||||
if (options.ignoreCase) {
|
||||
name1 = name1.toLowerCase()
|
||||
name2 = name2.toLowerCase()
|
||||
}
|
||||
return strcmp(name1, name2)
|
||||
}
|
||||
|
||||
function strcmp(str1, str2) {
|
||||
return ((str1 === str2) ? 0 : ((str1 > str2) ? 1 : -1))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue