// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
import { isWindows } from "./_os.ts";

export const DELIMITER = isWindows ? ";" as const : ":" as const;
export const SEPARATOR = isWindows ? "\\" as const : "/" as const;
export const SEPARATOR_PATTERN = isWindows ? /[\\/]+/ : /\/+/;

// denoCacheMetadata={"headers":{"accept-ranges":"bytes","vary":"Origin","cf-cache-status":"HIT","server":"cloudflare","date":"Tue, 28 Jul 2026 12:31:15 GMT","cf-ray":"a223e6579a0b7db6-LAX","content-type":"text/typescript","etag":"\"8921d8dd4eb4e2a9c1b8f33ff3cbf375\"","access-control-expose-headers":"*","x-content-type-options":"nosniff","set-cookie":"__cf_bm=Vkjxtl3PSf9vo7xP1zwrKeSl2yqXu0Rh78oF0emkOWE-1785241875.1389658-1.0.1.1-BbsSGvTG1SNH8PRS5j5F450CEWaLTDZ_rxbexUHn8gTfp.AIFSVgVKYA.b3Es20fQfoG8TvTUv7kMZfVxwQpWsjxFS1cB2P_PFb1cYUe0wah3lNhPvgm958NlS.f.0OH; HttpOnly; SameSite=None; Secure; Path=/; Domain=jsr.io; Expires=Tue, 28 Jul 2026 13:01:15 GMT","report-to":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=7O7QsQPj6sq5XtfvFPZV3osPxnFb51zqYx7hCaUjUD6HAe5uW2e%2BuFgc7qa9V8fOqc9JPy2VGvEEOx8WI9jl4QxgLFbbwUASIwQEdblyuVYxOcxmDbzxwhU%3D\"}]}","age":"1632904","x-robots-tag":"noindex","nel":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}","cross-origin-resource-policy":"cross-origin","content-length":"348","content-security-policy":"default-src 'none'; script-src 'none'; style-src 'none'; img-src 'none'; font-src 'none'; connect-src 'none'; frame-src 'none'; object-src 'none'; frame-ancestors 'none'; sandbox; form-action 'none';","x-jsr-backend":"modules","access-control-allow-origin":"*","alt-svc":"h3=\":443\"; ma=86400","cache-control":"public, max-age=31536000, immutable"},"url":"https://jsr.io/@std/path/0.224.0/constants.ts","time":1785241875}