// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.

import { assertPath } from "./assert_path.ts";

export function assertArgs(from: string, to: string) {
  assertPath(from);
  assertPath(to);
  if (from === to) return "";
}

// denoCacheMetadata={"headers":{"server":"cloudflare","content-length":"287","date":"Tue, 28 Jul 2026 12:31:15 GMT","vary":"Origin","cf-cache-status":"HIT","content-type":"text/typescript","accept-ranges":"bytes","cross-origin-resource-policy":"cross-origin","set-cookie":"__cf_bm=iaCkj2SEDsT7Qp7QwQ31BwJ2xHuN3iSgSvXLxTLYGiA-1785241875.379663-1.0.1.1-LazZbcVymuGT4LWn7hWGzrg29dZVQgq_m_ckpumnMxw6wBNzmVCIkDsILm4S92DchMaAKlBV3QewPpGkmJ.1jkeUHLseCBU23ur4C9mJxqGIRv2cc2adz0ygsJOCcPyV; HttpOnly; SameSite=None; Secure; Path=/; Domain=jsr.io; Expires=Tue, 28 Jul 2026 13:01:15 GMT","cache-control":"public, max-age=31536000, immutable","access-control-expose-headers":"*","x-jsr-backend":"modules","report-to":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=XymfpRPfY9qrBc%2F%2BfoMn5aThAOTm1EoxKQlYel0Q62xTR0YiiwHhmeLhGDc6GhrjbiBziRECi0rJwVsB1lx4i0EbmuWgXqyFTx1Xl88L06%2BNdByD2xqYdVs%3D\"}]}","alt-svc":"h3=\":443\"; ma=86400","cf-ray":"a223e6590e777db6-LAX","age":"38659","etag":"\"9d853e8613d8ace741dc6b463b061bc3\"","x-content-type-options":"nosniff","nel":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}","access-control-allow-origin":"*","x-robots-tag":"noindex","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';"},"url":"https://jsr.io/@std/path/1.0.0-rc.2/_common/relative.ts","time":1785241875}