Initial commit: Torrent search and download application
This commit is contained in:
commit
e38be704ff
4313 changed files with 791544 additions and 0 deletions
17
node_modules/get-uri/dist/file.d.ts
generated
vendored
Normal file
17
node_modules/get-uri/dist/file.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/// <reference types="node" />
|
||||
/// <reference types="node" />
|
||||
import { Readable } from 'stream';
|
||||
import { Stats, createReadStream } from 'fs';
|
||||
import { GetUriProtocol } from './';
|
||||
type ReadStreamOptions = NonNullable<Exclude<Parameters<typeof createReadStream>[1], string>>;
|
||||
interface FileReadable extends Readable {
|
||||
stat?: Stats;
|
||||
}
|
||||
export interface FileOptions extends ReadStreamOptions {
|
||||
cache?: FileReadable;
|
||||
}
|
||||
/**
|
||||
* Returns a `fs.ReadStream` instance from a "file:" URI.
|
||||
*/
|
||||
export declare const file: GetUriProtocol<FileOptions>;
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue