mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
16 lines
654 B
TypeScript
16 lines
654 B
TypeScript
// Type definitions for git-rev-sync 1.12
|
|
// Project: https://github.com/kurttheviking/git-rev-sync-js
|
|
// Definitions by: khoi-fish <https://github.com/khoi-fish>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export function short(filePath?: string, length?: number): string;
|
|
export function long(filePath?: string): string;
|
|
export function branch(branch?: string): void;
|
|
export function count(): number;
|
|
export function date(): Date;
|
|
export function isDirty(): boolean;
|
|
export function isTagDirty(): boolean;
|
|
export function message(): string;
|
|
export function remoteUrl(): string;
|
|
export function tag(makeDirty?: boolean): string;
|