Package com.artipie.npm
Class TgzRelativePath
java.lang.Object
com.artipie.npm.TgzRelativePath
The relative path of a .tgz uploaded archive.
- Since:
- 0.3
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TgzRelativePath
Ctor.- Parameters:
full
- The full path.
-
-
Method Details
-
relative
Extract the relative path.- Returns:
- The relative path.
-
relative
Extract the relative path.- Parameters:
replace
- Is it necessary to replace `/-/` with `/version/` in the path. It could be required for some cases. See Deploying with cURL section.- Returns:
- The relative path.
-