// 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":{"cross-origin-resource-policy":"cross-origin","x-content-type-options":"nosniff","nel":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}","x-robots-tag":"noindex","accept-ranges":"bytes","cf-ray":"a223e6589ccf7db6-LAX","vary":"Origin","alt-svc":"h3=\":443\"; ma=86400","content-length":"287","access-control-expose-headers":"*","cf-cache-status":"HIT","content-type":"text/typescript","server":"cloudflare","date":"Tue, 28 Jul 2026 12:31:15 GMT","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';","set-cookie":"__cf_bm=rGhO7drBFZTz96yBhe50Dja2pV5_D7WIyqPRfurYAS4-1785241875.295018-1.0.1.1-W0ZWOBX2YpCKsJEmNY78EmV.s88OlMGiSJz0eLLZBdIMhBcKWJFUkCW2DGN7DbEUSU_BkXmUAbvnm9Y4P.ZDAs0Udz0jE9OUNoivNMdFQ66BVg91MXNfxu4AR2opMRBD; 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=45s4voMRwtGehot1hfDRv%2FEi2C%2F7eMUk%2BkTM6GIG%2BcmWnQNnuJZB%2BTJuuWIpcLe7Qi%2F3PXcrJLBKCBlXwXv4c4vAYgpjEC3w3cjJAAhMpz7Jq9%2FL7O%2FiK4M%3D\"}]}","x-jsr-backend":"modules","age":"2812498","access-control-allow-origin":"*","cache-control":"public, max-age=31536000, immutable","etag":"\"9d853e8613d8ace741dc6b463b061bc3\""},"url":"https://jsr.io/@std/path/0.224.0/_common/relative.ts","time":1785241875}