Sha256: c0f387043c50d66fc55a5a263554ece5176d22297a4a3379aeadb06e6cf21695
Contents?: true
Size: 193 Bytes
Versions: 11
Compression:
Stored size: 193 Bytes
Contents
exports.pathMatch = pathMatch; function pathMatch(url, path) { if (url == path) return true; var q = url.indexOf('?'); if (q == -1) return false; return url.substring(0, q) == path; }
Version data entries
11 entries across 11 versions & 1 rubygems