Sha256: afc806a2cf3b7645b610b24eed5a899556d5e80f9fd0123ed51932e746e91879
Contents?: true
Size: 259 Bytes
Versions: 35
Compression:
Stored size: 259 Bytes
Contents
'use strict'; var path = require('path'); var isglob = require('is-glob'); module.exports = function globParent(str) { str += 'a'; // preserves full path in case of trailing path separator do {str = path.dirname(str)} while (isglob(str)); return str; };
Version data entries
35 entries across 35 versions & 15 rubygems