mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
refactor: remove deprecated method
This commit is contained in:
parent
6b7d4e94cf
commit
46f8186f01
2 changed files with 0 additions and 10 deletions
|
@ -97,15 +97,6 @@ class Storage implements IStorageHandler {
|
|||
this.localStorage.mergeTags(name, tagHash, callback);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tags a package version with a provided tag
|
||||
Used storages: local (write)
|
||||
*/
|
||||
replaceTags(name: string, tagHash: MergeTags, callback: Callback) {
|
||||
this.logger.warn('method deprecated');
|
||||
this.localStorage.mergeTags(name, tagHash, callback);
|
||||
}
|
||||
|
||||
/**
|
||||
* Change an existing package (i.e. unpublish one version)
|
||||
Function changes a package info from local storage and all uplinks with write access./
|
||||
|
|
|
@ -83,7 +83,6 @@ export interface IStorageHandler {
|
|||
init(config: Config): Promise<any>;
|
||||
addVersion(name: string, version: string, metadata: Version, tag: StringValue, callback: Callback): void;
|
||||
mergeTags(name: string, tagHash: MergeTags, callback: Callback): void;
|
||||
replaceTags(name: string, tagHash: MergeTags, callback: Callback): void;
|
||||
changePackage(name: string, metadata: Package, revision: string, callback: Callback): void;
|
||||
removePackage(name: string, callback: Callback): void;
|
||||
removeTarball(name: string, filename: string, revision: string, callback: Callback): void;
|
||||
|
|
Loading…
Reference in a new issue