MyRepo-Ums/node_modules/cacache/lib/util/glob.js

8 lines
222 B
JavaScript
Raw Permalink Normal View History

2024-01-19 10:09:11 +00:00
'use strict'
const { glob } = require('glob')
const path = require('path')
const globify = (pattern) => pattern.split(path.win32.sep).join(path.posix.sep)
module.exports = (path, options) => glob(globify(path), options)