arch.d.ts 615 B

1234567891011121314
  1. export declare enum Arch {
  2. ia32 = 0,
  3. x64 = 1,
  4. armv7l = 2,
  5. arm64 = 3,
  6. universal = 4
  7. }
  8. export declare type ArchType = "x64" | "ia32" | "armv7l" | "arm64" | "universal";
  9. export declare function toLinuxArchString(arch: Arch, targetName: string): string;
  10. export declare function getArchCliNames(): Array<string>;
  11. export declare function getArchSuffix(arch: Arch, defaultArch?: string): string;
  12. export declare function archFromString(name: string): Arch;
  13. export declare function defaultArchFromString(name?: string): Arch;
  14. export declare function getArtifactArchName(arch: Arch, ext: string): string;