Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/cli/entry/argsToGitHookInvocation"

Index

Functions

argsToGitHookInvocation

cleanBaseDir

  • cleanBaseDir(dir: string): string
  • Determine project directory from directory which may include .git or .git/hooks.

    Parameters

    • dir: string

      directory to clean

    Returns string

    base directory with any .git tail and trailing slash removed

cleanBranch

  • cleanBranch(fullBranch: string): string

Generated using TypeDoc