Function: tar-new-regular-file-header
tar-new-regular-file-header is a byte-compiled function defined in
tar-mode.el.gz.
Signature
(tar-new-regular-file-header FILENAME &optional SIZE TIME)
Documentation
Return a Tar header for a regular file.
The header will lack a proper checksum; use tar-header-block-checksum
to compute one, or request tar-header-serialize to do that.
Other tar-mode facilities may also require the data-start header
field to be set to a valid value.
If SIZE is not given or nil, it defaults to 0. If TIME is not given or nil, assume now.
Source Code
;; Defined in /usr/src/emacs/lisp/tar-mode.el.gz
(defun tar-new-regular-file-header (filename &optional size time)
"Return a Tar header for a regular file.
The header will lack a proper checksum; use `tar-header-block-checksum'
to compute one, or request `tar-header-serialize' to do that.
Other `tar-mode' facilities may also require the data-start header
field to be set to a valid value.
If SIZE is not given or nil, it defaults to 0.
If TIME is not given or nil, assume now."
(make-tar-header
nil
filename
#o644 0 0 (or size 0)
(or time (current-time))
nil ; checksum
nil nil
nil nil nil nil nil))