Function: url-http-head-file-attributes
url-http-head-file-attributes is a byte-compiled function defined in
url-http.el.gz.
Signature
(url-http-head-file-attributes URL &optional ID-FORMAT)
Source Code
;; Defined in /usr/src/emacs/lisp/url/url-http.el.gz
(defun url-http-head-file-attributes (url &optional _id-format)
(let ((buffer (url-http-head url)))
(when buffer
(prog1
(list
nil ;dir / link / normal file
1 ;number of links to file.
0 0 ;uid ; gid
nil nil nil ;atime ; mtime ; ctime
(url-http-symbol-value-in-buffer 'url-http-content-length
buffer -1)
(eval-when-compile (make-string 10 ?-))
nil nil nil) ;whether gid would change ; inode ; device.
(kill-buffer buffer)))))