BLUE
PHP 7.4.33
Path:
/var/www/podio-api-client/node_modules/jest-diff/build
Run
Logout
Edit File
Size: 2.34 KB
Close
/var/www/podio-api-client/node_modules/jest-diff/build/index.d.ts
Text
Base64
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import type {CompareKeys} from 'pretty-format'; /** * Class representing one diff tuple. * Attempts to look like a two-element array (which is what this used to be). * @param {number} op Operation, one of: DIFF_DELETE, DIFF_INSERT, DIFF_EQUAL. * @param {string} text Text to be deleted, inserted, or retained. * @constructor */ export declare class Diff { 0: number; 1: string; constructor(op: number, text: string); } export declare function diff( a: any, b: any, options?: DiffOptions, ): string | null; /** * The data structure representing a diff is an array of tuples: * [[DIFF_DELETE, 'Hello'], [DIFF_INSERT, 'Goodbye'], [DIFF_EQUAL, ' world.']] * which means: delete 'Hello', add 'Goodbye' and keep ' world.' */ export declare var DIFF_DELETE: number; export declare var DIFF_EQUAL: number; export declare var DIFF_INSERT: number; export declare const diffLinesRaw: ( aLines: Array<string>, bLines: Array<string>, ) => Array<Diff>; export declare const diffLinesUnified: ( aLines: Array<string>, bLines: Array<string>, options?: DiffOptions, ) => string; export declare const diffLinesUnified2: ( aLinesDisplay: Array<string>, bLinesDisplay: Array<string>, aLinesCompare: Array<string>, bLinesCompare: Array<string>, options?: DiffOptions, ) => string; export declare type DiffOptions = { aAnnotation?: string; aColor?: DiffOptionsColor; aIndicator?: string; bAnnotation?: string; bColor?: DiffOptionsColor; bIndicator?: string; changeColor?: DiffOptionsColor; changeLineTrailingSpaceColor?: DiffOptionsColor; commonColor?: DiffOptionsColor; commonIndicator?: string; commonLineTrailingSpaceColor?: DiffOptionsColor; contextLines?: number; emptyFirstOrLastLinePlaceholder?: string; expand?: boolean; includeChangeCounts?: boolean; omitAnnotationLines?: boolean; patchColor?: DiffOptionsColor; compareKeys?: CompareKeys; }; export declare type DiffOptionsColor = (arg: string) => string; export declare const diffStringsRaw: ( a: string, b: string, cleanup: boolean, ) => Array<Diff>; export declare const diffStringsUnified: ( a: string, b: string, options?: DiffOptions, ) => string; export {};
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 11
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
cleanupSemantic.js
19.85 KB
lrw-r--r--
2023-12-27 12:33:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
constants.js
643 B
lrw-r--r--
2023-12-27 12:33:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
diffLines.js
5.68 KB
lrw-r--r--
2023-12-27 12:33:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
diffStrings.js
1.83 KB
lrw-r--r--
2023-12-27 12:33:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
getAlignedDiffs.js
6.76 KB
lrw-r--r--
2023-12-27 12:33:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.d.ts
2.34 KB
lrw-r--r--
2023-12-27 12:33:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
6.50 KB
lrw-r--r--
2023-12-27 12:33:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
joinAlignedDiffs.js
7.60 KB
lrw-r--r--
2023-12-27 12:33:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
normalizeDiffOptions.js
1.74 KB
lrw-r--r--
2023-12-27 12:33:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
printDiffs.js
2.48 KB
lrw-r--r--
2023-12-27 12:33:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
types.js
14 B
lrw-r--r--
2023-12-27 12:33:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).