✨ Verify file entries in solidpkg
This commit is contained in:
parent
c7bea67a1c
commit
06762c6107
2 changed files with 19 additions and 4 deletions
|
@ -1,13 +1,14 @@
|
|||
interface ISolidFile {
|
||||
//TODO: show length
|
||||
/** File name of this file. */
|
||||
/** Length of this file in bytes, up to 1700000000 or 1.7 GB */
|
||||
length: number;
|
||||
/** File name of this file, e.g. `${product}_${from}to${to}.z01` or `${product}_${from}to${to}.zip`. */
|
||||
path: [string];
|
||||
}
|
||||
|
||||
interface ISolidFileInfo {
|
||||
/** List of files that are part of this torrent. */
|
||||
files: ISolidFile[];
|
||||
/** Length of one piece in bytes, e.g. 4194304 for 4 MB. */
|
||||
/** Length of one piece in bytes, e.g. 4194304 for 4 MiB. */
|
||||
'piece length': number;
|
||||
/** Concatenated hashes of all pieces. */
|
||||
pieces: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue