Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/fs/_util.ts>isSamePath

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function isSamePath
import { isSamePath } from "https://deno.land/std@0.185.0/fs/_util.ts";

Test whether src and dest resolve to the same location

Parameters

src: string | URL

src file path

dest: string | URL

dest file path

Returns

boolean | void