forked from olcxjas-softworks/LarpixClient
Update gitignore (sorry)
This commit is contained in:
parent
a8f8c4d7ad
commit
cca8b02fea
6604 changed files with 1219661 additions and 4 deletions
33
electron/node_modules/electron-updater/out/differentialDownloader/DataSplitter.d.ts
generated
vendored
Normal file
33
electron/node_modules/electron-updater/out/differentialDownloader/DataSplitter.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/// <reference types="node" />
|
||||
import { Writable } from "stream";
|
||||
import { Operation } from "./downloadPlanBuilder";
|
||||
export interface PartListDataTask {
|
||||
readonly oldFileFd: number;
|
||||
readonly tasks: Array<Operation>;
|
||||
readonly start: number;
|
||||
readonly end: number;
|
||||
}
|
||||
export declare function copyData(task: Operation, out: Writable, oldFileFd: number, reject: (error: Error) => void, resolve: () => void): void;
|
||||
export declare class DataSplitter extends Writable {
|
||||
private readonly out;
|
||||
private readonly options;
|
||||
private readonly partIndexToTaskIndex;
|
||||
private readonly partIndexToLength;
|
||||
private readonly finishHandler;
|
||||
partIndex: number;
|
||||
private headerListBuffer;
|
||||
private readState;
|
||||
private ignoreByteCount;
|
||||
private remainingPartDataCount;
|
||||
private readonly boundaryLength;
|
||||
constructor(out: Writable, options: PartListDataTask, partIndexToTaskIndex: Map<number, number>, boundary: string, partIndexToLength: Array<number>, finishHandler: () => any);
|
||||
get isFinished(): boolean;
|
||||
_write(data: Buffer, encoding: string, callback: (error?: Error) => void): void;
|
||||
private handleData;
|
||||
private copyExistingData;
|
||||
private searchHeaderListEnd;
|
||||
private actualPartLength;
|
||||
private onPartEnd;
|
||||
private processPartStarted;
|
||||
private processPartData;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue