Package com.artipie.composer
Interface Packages
-
- All Known Implementing Classes:
JsonPackages
public interface PackagesPHP Composer packages registry.- Since:
- 0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Packagesadd(Package pack)Add package.com.artipie.asto.Contentcontent()Reads packages registry binary content.CompletableFuture<Void>save(com.artipie.asto.Storage storage, com.artipie.asto.Key key)Saves packages registry binary content to storage.
-
-
-
Method Detail
-
save
CompletableFuture<Void> save(com.artipie.asto.Storage storage, com.artipie.asto.Key key)
Saves packages registry binary content to storage.- Parameters:
storage- Storage to use for saving.key- Key to store packages.- Returns:
- Completion of saving.
-
content
com.artipie.asto.Content content()
Reads packages registry binary content.- Returns:
- Content.
-
-