The cl-mime-from-string Reference Manual

This is the cl-mime-from-string Reference Manual, version 1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 04:13:35 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 cl-mime-from-string

A one function library to return a mime-type based on the file extension found at the end of a string. ie abc.txt -> text/plain. The common types implemented are from https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types

Author

K1D77A

License

MIT

Version

1

Source

cl-mime-from-string.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 cl-mime-from-string/cl-mime-from-string.asd

Source

cl-mime-from-string.asd.

Parent Component

cl-mime-from-string (system).

ASDF Systems

cl-mime-from-string.


3.1.2 cl-mime-from-string/package.lisp

Source

cl-mime-from-string.asd.

Parent Component

cl-mime-from-string (system).

Packages

cl-mime-from-string.


3.1.3 cl-mime-from-string/cl-mime-from-string.lisp

Dependency

package.lisp (file).

Source

cl-mime-from-string.asd.

Parent Component

cl-mime-from-string (system).

Public Interface

mime-type-from-string (function).

Internals

4 Packages

Packages are listed by definition order.


4.1 cl-mime-from-string

Source

package.lisp.

Use List

common-lisp.

Public Interface

mime-type-from-string (function).

Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Ordinary functions

Function: mime-type-from-string (file-string &optional default)

takes in a string like ’abc.txt’ and returns its associated mime-type from https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types. If there is no extension, or one that is unknown then the value of default is returned

Package

cl-mime-from-string.

Source

cl-mime-from-string.lisp.


5.2 Internals


5.2.1 Macros

Macro: string-case (string &body cases)
Package

cl-mime-from-string.

Source

cl-mime-from-string.lisp.


5.2.2 Ordinary functions

Function: to-cond-form-string= (str1 form)
Package

cl-mime-from-string.

Source

cl-mime-from-string.lisp.


Appendix A Indexes


A.1 Concepts


A.3 Variables