mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
1587387bcc
1. Moves the npm registries to their own dedicated ports. 2. Moves the data files out of `tests/testdata/npm/registry` to `tests/registry/npm`.
10 lines
391 B
TypeScript
10 lines
391 B
TypeScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
// Copyright the Browserify authors. MIT License.
|
|
// Ported from https://github.com/browserify/path-browserify/
|
|
// This module is browser compatible.
|
|
|
|
import { CHAR_FORWARD_SLASH } from "../_common/constants.ts";
|
|
|
|
export function isPosixPathSeparator(code: number): boolean {
|
|
return code === CHAR_FORWARD_SLASH;
|
|
}
|