Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
11 lines
217 B
Plaintext
11 lines
217 B
Plaintext
'use strict';
|
|
|
|
var regex = require('unc-path-regex')();
|
|
|
|
module.exports = function(filepath) {
|
|
if (typeof filepath !== 'string') {
|
|
throw new TypeError('expected a string');
|
|
}
|
|
return regex.test(filepath);
|
|
};
|