All files / path / _common / relative.ts

100.00% Branches 1/1
100.00% Lines 6/6
1
2
3
4
5
6
7
8
9
10
 
 
 
x46
 
x46
x200
x200
x200
x200








// Copyright 2018-2025 the Deno authors. 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 "";
}