@types/git-rev-sync
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

Installation

npm install --save @types/git-rev-sync

Summary

This package contains type definitions for git-rev-sync (https://github.com/kurttheviking/git-rev-sync-js).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-rev-sync.

index.d.ts

export function branch(filePath?: string): string;
export function count(): number;
export function date(): Date;
export function hasUnstagedChanges(): boolean;
export function isDirty(): boolean;
export function isTagDirty(): boolean;
export function long(filePath?: string): string;
export function message(): string;
export function remoteUrl(): string;
export function short(filePath?: string, length?: number): string;
export function tag(makeDirty?: boolean): string;
export function tagFirstParent(makeDirty?: boolean): string;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by khoi-fish, and pkuczynski.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/git-rev-sync

Weekly Downloads

16,663

Version

2.0.2

License

MIT

Unpacked Size

3.83 kB

Total Files

5

Last publish

Collaborators

  • types