Skip to main content
Module

x/is_git/mod.ts>isGitSync

Whether the filepath is a git repository.
Latest
function isGitSync
import { isGitSync } from "https://deno.land/x/is_git@v0.1.1/mod.ts";

Return true if the file apth is a git repository.

Requires the --allow-read flag.

Parameters

optional
filepath = [UNSUPPORTED]

default is Deno.cwd(), the current working directory.

Returns

boolean