HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/frenchy/www/french-american.org/current/node_modules/locutus/php/filesystem/dirname.js.map
{"version":3,"sources":["../../../src/php/filesystem/dirname.js"],"names":["module","exports","dirname","path","replace"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,OAAT,CAAkBC,IAAlB,EAAwB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAOA,KAAKC,OAAL,CAAa,KAAb,EAAoB,GAApB,EACJA,OADI,CACI,aADJ,EACmB,EADnB,CAAP;AAED,CAbD","file":"dirname.js","sourcesContent":["module.exports = function dirname (path) {\n  //  discuss at: http://locutus.io/php/dirname/\n  // original by: Ozh\n  // improved by: XoraX (http://www.xorax.info)\n  //   example 1: dirname('/etc/passwd')\n  //   returns 1: '/etc'\n  //   example 2: dirname('c:/Temp/x')\n  //   returns 2: 'c:/Temp'\n  //   example 3: dirname('/dir/test/')\n  //   returns 3: '/dir'\n\n  return path.replace(/\\\\/g, '/')\n    .replace(/\\/[^/]*\\/?$/, '')\n}\n"]}