chore(3p/lisp/mime4cl): remove MIME-PART-SIZE and MIME-BODY-SIZE
These functions are not very useful—as far as I'm aware at least—, are not implemented very efficiently and totally untested. Remove them for now. See also r/8978. Change-Id: If9d277b460c3ed728a171bc29dd626c4c5fc0313 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12868 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
This commit is contained in:
parent
856886f01d
commit
a31af5233c
4 changed files with 2 additions and 68 deletions
12
third_party/lisp/mime4cl/ex-sclf.lisp
vendored
12
third_party/lisp/mime4cl/ex-sclf.lisp
vendored
|
|
@ -63,8 +63,6 @@
|
|||
#:save-file-excursion
|
||||
#:read-file
|
||||
|
||||
#:file-size
|
||||
|
||||
#:promise
|
||||
#:make-promise
|
||||
#:lazy
|
||||
|
|
@ -267,16 +265,6 @@ ELEMENT-TYPE."
|
|||
seq)
|
||||
default)))
|
||||
|
||||
;; FILES
|
||||
|
||||
;; FILE-LENGTH is a bit idiosyncratic in this respect. Besides, Unix
|
||||
;; allows to get to know the file size without being able to open a
|
||||
;; file; just ask politely.
|
||||
(defun file-size (pathname)
|
||||
#+sbcl (sb-posix:stat-size (sb-posix:stat pathname))
|
||||
#+ccl (ccl:file-data-size pathname)
|
||||
#-(or sbcl ccl) (error "nyi"))
|
||||
|
||||
;; LAZY
|
||||
|
||||
(defstruct promise
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue