diff options
author | Marcos Casagrande <marcoscvp90@gmail.com> | 2020-06-09 01:09:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-08 19:09:24 -0400 |
commit | 54742d29dce4230c36db28fb2306589b8e57d3d9 (patch) | |
tree | 9daaeff882e9be40aa59bd555e18d32887b5e531 | |
parent | 6f22bc827893d6b2500014ac40b51ebbb283677c (diff) |
cleanup std/tar (#6185)
-rw-r--r-- | std/archive/tar.ts | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/std/archive/tar.ts b/std/archive/tar.ts index 52af7bd69..d549a4623 100644 --- a/std/archive/tar.ts +++ b/std/archive/tar.ts @@ -1,5 +1,5 @@ /** - * Ported and modified from: https://github.com/jshttp/mime-types and + * Ported and modified from: https://github.com/beatgammit/tar-js and * licensed as: * * (The MIT License) @@ -259,15 +259,9 @@ export interface UntarOptions extends TarInfo { */ export class Tar { data: TarDataWithSource[]; - written: number; - out: Uint8Array; - private blockSize: number; - constructor(recordsPerBlock?: number) { + constructor() { this.data = []; - this.written = 0; - this.blockSize = (recordsPerBlock || 20) * recordSize; - this.out = clean(this.blockSize); } /** |