method
add_file_digest
v2_2_9 -
Show latest stable
- Class:
Gem::Package::TarWriter
add_file_digest(name, mode, digest_algorithms)public
Adds name with permissions mode to the tar, yielding io for writing the file. The digest_algorithm is written to a read-only name.sum file following the given file contents containing the digest name and hexdigest separated by a tab.
The created digest object is returned.