downloaded_binary.js 765 B

1234567891011121314151617181920212223242526272829303132
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const binaries_1 = require("../binaries");
  4. /**
  5. * The downloaded binary is the binary with the list of versions downloaded.
  6. */
  7. class DownloadedBinary extends binaries_1.Binary {
  8. constructor(binary) {
  9. super();
  10. this.versions = [];
  11. this.binary = binary;
  12. this.name = binary.name;
  13. this.versionCustom = binary.versionCustom;
  14. }
  15. id() {
  16. return this.binary.id();
  17. }
  18. prefix() {
  19. return null;
  20. }
  21. suffix() {
  22. return null;
  23. }
  24. getUrl() {
  25. return null;
  26. }
  27. getVersionList() {
  28. return null;
  29. }
  30. }
  31. exports.DownloadedBinary = DownloadedBinary;
  32. //# sourceMappingURL=downloaded_binary.js.map