Sha256: d585da94804cf3c623eda666c6068bc513b5f3bed1fa44e0f15bcc98b38fbdd2
Contents?: true
Size: 410 Bytes
Versions: 40
Compression:
Stored size: 410 Bytes
Contents
// on windows, either \ or / are valid directory separators. // on unix, \ is a valid character in filenames. // so, on windows, and only on windows, we replace all \ chars with /, // so that we can use / as our one and only directory separator char. const platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform module.exports = platform !== 'win32' ? p => p : p => p && p.replace(/\\/g, '/')
Version data entries
40 entries across 40 versions & 2 rubygems