x/readme_manager/mod.ts

helps manage and harmonise READMEs in many repositories with template files
Latest
variable getBranch
import { getBranch } from "https://deno.land/x/readme_manager@v3.0.0/mod.ts?s=getBranch";

Attempt to find the current git branch. Silently fails.

import { getBranch } from "./git.ts"
const branch = await getBranch('/path/to/git/repo', (errorMsg: string, error?: Error) => {})
(directory: string, error: (message: string, error?: Error) => void) => unknown[src]
import getBranch
import { getBranch } from "https://deno.land/x/readme_manager@v3.0.0/mod.ts?s=getBranch";