simple git installed
This commit is contained in:
1 parent
e2a8f4be8e
commit
f2e744cb7e
276 files changed
+11110
-1
No files matched your search
+28
@@ -0,0 +1,28 @@
|
||||
import { Options, StringTask } from '../types';
|
||||
import { LogResult } from '../../../typings';
|
||||
export interface DefaultLogFields {
|
||||
hash: string;
|
||||
date: string;
|
||||
message: string;
|
||||
refs: string;
|
||||
body: string;
|
||||
author_name: string;
|
||||
author_email: string;
|
||||
}
|
||||
export declare type LogOptions<T = DefaultLogFields> = {
|
||||
file?: string;
|
||||
format?: T;
|
||||
from?: string;
|
||||
maxCount?: number;
|
||||
multiLine?: boolean;
|
||||
splitter?: string;
|
||||
strictDate?: boolean;
|
||||
symmetric?: boolean;
|
||||
to?: string;
|
||||
};
|
||||
export declare function parseLogOptions<T extends Options>(opt?: LogOptions<T>, customArgs?: string[]): {
|
||||
fields: string[];
|
||||
splitter: string;
|
||||
commands: string[];
|
||||
};
|
||||
export declare function logTask<T>(splitter: string, fields: string[], customArgs: string[]): StringTask<LogResult<T>>;
|
||||
Reference in new issue
Block a user