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:
sterni 2024-12-05 13:57:36 +01:00 committed by clbot
parent 856886f01d
commit a31af5233c
4 changed files with 2 additions and 68 deletions

View file

@ -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