All files / path / _common / relative.ts

100.00% Branches 2/2
100.00% Functions 1/1
100.00% Lines 6/6
1
2
3
4
5
6
7
8
9
10
 
 
 
x54
 
x54
x162
x162
x162
x162








// Copyright 2018-2026 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 "";
}