NET-Web-API-w-Angular/my-app/node_modules/cacache/lib/util/glob.js

8 lines
222 B
JavaScript
Raw Normal View History

2024-02-09 00:38:41 +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)