Interface BuildTargetSourcePath

    • Method Detail

      • getTarget

        default BuildTarget getTarget()
        the target of the BuildRule which generates the file.
      • getPrecomputedHash

        Optional<> getPrecomputedHash()
        In rare cases, a BuildTargetSourcePath may know a hash of its content on disk before it even creates its output. In this case, we can skip hashing its output files entirely and simply use this precomputed hash code. Use Optional.empty() in the common case.
      • representationForRuleKey

        default String representationForRuleKey()
        a string representation that is usable for rule keys, i.e. does not depend on absolute paths