Class BsdArchiver

    • Constructor Detail

      • BsdArchiver

        public BsdArchiver​(Tool tool)
    • Method Detail

      • getArchiveOptions

        public com.google.common.collect.ImmutableList<String> getArchiveOptions​(boolean isThinArchive)
        Specified by:
        getArchiveOptions in interface Archiver
      • outputArgs

        public com.google.common.collect.ImmutableList<String> outputArgs​(String outputPath)
        Specified by:
        outputArgs in interface Archiver
      • isArgfileRequired

        public boolean isArgfileRequired()
        Description copied from interface: Archiver
        Whether an argfile is required for a long command line (false means that it is possible to split a long command line into chunks). Eg, ar on *nix allows to add new files to an already created archive, but doesn't accept argfiles. On the contrary, VS lib.exe on windows always overrides the previous archive, but supports argfiles.
        Specified by:
        isArgfileRequired in interface Archiver
        Returns:
        whether @argfile is required for a long command line