std/path/posix/_util.ts
Lino Le Van c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00

11 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;
}