Search
Preparing search index...
The search index is not available
Yarn API
Home
Configuration
Features
CLI
Advanced
GitHub
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
plugin-file
TarballFileFetcher
Globals
Generic Packages
@yarnpkg/core
@yarnpkg/fslib
@yarnpkg/libzip
@yarnpkg/nm
@yarnpkg/parsers
@yarnpkg/pnp
@yarnpkg/pnpify
@yarnpkg/sdks
@yarnpkg/shell
Yarn Packages
@yarnpkg/builder
@yarnpkg/cli
Default Plugins
@yarnpkg/plugin-compat
@yarnpkg/plugin-dlx
@yarnpkg/plugin-essentials
@yarnpkg/plugin-file
@yarnpkg/plugin-git
@yarnpkg/plugin-github
@yarnpkg/plugin-http
@yarnpkg/plugin-init
@yarnpkg/plugin-link
@yarnpkg/plugin-nm
@yarnpkg/plugin-npm
@yarnpkg/plugin-npm-cli
@yarnpkg/plugin-pack
@yarnpkg/plugin-patch
@yarnpkg/plugin-pnp
Contrib Plugins
@yarnpkg/plugin-constraints
@yarnpkg/plugin-exec
@yarnpkg/plugin-interactive-tools
@yarnpkg/plugin-stage
@yarnpkg/plugin-typescript
@yarnpkg/plugin-version
@yarnpkg/plugin-workspace-tools
Class TarballFileFetcher
Hierarchy
TarballFileFetcher
Implements
Fetcher
Methods
fetch
fetchFromDisk
getLocalPath
supports
Methods
fetch
fetch
(
locator
:
Locator
, opts
:
FetchOptions
)
:
Promise
<
object
>
Parameters
locator:
Locator
opts:
FetchOptions
Returns
Promise
<
object
>
fetch
From
Disk
fetch
From
Disk
(
locator
:
Locator
, opts
:
FetchOptions
)
:
Promise
<
ZipFS
>
Parameters
locator:
Locator
opts:
FetchOptions
Returns
Promise
<
ZipFS
>
get
Local
Path
get
Local
Path
(
locator
:
Locator
, opts
:
FetchOptions
)
:
null
Parameters
locator:
Locator
opts:
FetchOptions
Returns
null
supports
supports
(
locator
:
Locator
, opts
:
MinimalFetchOptions
)
:
boolean
Parameters
locator:
Locator
opts:
MinimalFetchOptions
Returns
boolean
plugin-
file
File
Fetcher
File
Resolver
Tarball
File
Fetcher
fetch
fetch
From
Disk
get
Local
Path
supports
Tarball
File
Resolver
CACHE_
VERSION
FILE_
REGEXP
PROTOCOL
TARBALL_
REGEXP
fetch
Archive
From
Locator
make
Archive
From
Locator
make
Buffer
From
Locator
make
Locator
make
Spec
parse
Spec
plugin
Generated using
TypeDoc