Function: xdg-thumb-uri
xdg-thumb-uri is a byte-compiled function defined in xdg.el.gz.
Signature
(xdg-thumb-uri FILENAME)
Documentation
Return the canonical URI for FILENAME.
If FILENAME has absolute file name /foo/bar.jpg, its canonical URI is file:///foo/bar.jpg
Source Code
;; Defined in /usr/src/emacs/lisp/xdg.el.gz
;; Thumbnail Managing Standard
;; https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-latest.html
(defun xdg-thumb-uri (filename)
"Return the canonical URI for FILENAME.
If FILENAME has absolute file name /foo/bar.jpg, its canonical URI is
file:///foo/bar.jpg"
(concat "file://" (expand-file-name filename)))