Common Lisp Package: MONTEZUMA-INDEXFILES

README:

FUNCTION

Private

ACCEPT-DOCS-BY-EXT (FILENAME)

Filter file names by extension.

COUNT (ITEM SEQUENCE &REST ARGS &KEY FROM-END (START 0) (END NIL) (KEY NIL) (TEST #'EQL TEST-P) (TEST-NOT NIL TEST-NOT-P))

Return the number of elements in SEQUENCE satisfying a test with ITEM, which defaults to EQL.

DELETE-FILE (FILE)

Delete the specified FILE. If FILE is a stream, on Windows the stream is closed immediately. On Unix plaforms the stream remains open, allowing IO to continue: the OS resources associated with the deleted file remain available till the stream is closed as per standard Unix unlink() behaviour.

DIRECTORY (PATHSPEC &KEY (RESOLVE-SYMLINKS T))

Return a list of PATHNAMEs, each the TRUENAME of a file that matched the given pathname. Note that the interaction between this ANSI-specified TRUENAMEing and the semantics of the Unix filesystem (symbolic links..) means this function can sometimes return files which don't have the same directory as PATHNAME. If :RESOLVE-SYMLINKS is NIL, don't resolve symbolic links in matching filenames.

INDEX-DOCS (DIR)

Recursively index all files under DIR.

MERGE (RESULT-TYPE SEQUENCE1 SEQUENCE2 PREDICATE &KEY KEY)

Merge the sequences SEQUENCE1 and SEQUENCE2 destructively into a sequence of type RESULT-TYPE using PREDICATE to order the elements.

READ (&OPTIONAL (STREAM *STANDARD-INPUT*) (EOF-ERROR-P T) (EOF-VALUE NIL) (RECURSIVE-P NIL))

Read the next Lisp value from STREAM, and return it.

RENAME-FILE (FILE NEW-NAME)

Rename FILE to have the specified NEW-NAME. If FILE is a stream open to a file, then the associated file is renamed.

SORT (SEQUENCE PREDICATE &REST ARGS &KEY KEY)

Destructively sort SEQUENCE. PREDICATE should return non-NIL if ARG1 is to precede ARG2.

WRITE (OBJECT &KEY ((STREAM STREAM) *STANDARD-OUTPUT*) ((ESCAPE *PRINT-ESCAPE*) *PRINT-ESCAPE*) ((RADIX *PRINT-RADIX*) *PRINT-RADIX*) ((BASE *PRINT-BASE*) *PRINT-BASE*) ((CIRCLE *PRINT-CIRCLE*) *PRINT-CIRCLE*) ((PRETTY *PRINT-PRETTY*) *PRINT-PRETTY*) ((LEVEL *PRINT-LEVEL*) *PRINT-LEVEL*) ((LENGTH *PRINT-LENGTH*) *PRINT-LENGTH*) ((CASE *PRINT-CASE*) *PRINT-CASE*) ((ARRAY *PRINT-ARRAY*) *PRINT-ARRAY*) ((GENSYM *PRINT-GENSYM*) *PRINT-GENSYM*) ((READABLY *PRINT-READABLY*) *PRINT-READABLY*) ((RIGHT-MARGIN *PRINT-RIGHT-MARGIN*) *PRINT-RIGHT-MARGIN*) ((MISER-WIDTH *PRINT-MISER-WIDTH*) *PRINT-MISER-WIDTH*) ((LINES *PRINT-LINES*) *PRINT-LINES*) ((PPRINT-DISPATCH *PRINT-PPRINT-DISPATCH*) *PRINT-PPRINT-DISPATCH*) ((SUPPRESS-ERRORS *SUPPRESS-PRINT-ERRORS*) *SUPPRESS-PRINT-ERRORS*))

Output OBJECT to the specified stream, defaulting to *STANDARD-OUTPUT*.

Undocumented

FILE-LENGTH (STREAM)

INDEX-DIRECTORY-TREE (TREE-DIR &KEY (INDEX-DIR NIL) (RAM NIL) (MERGE-FACTOR 10) (MIN-MERGE-DOCS 10))

LOAD-INDEX (INDEX-DIR)

QUICKSEARCH (TERM &KEY (SHOWDOC NIL))

READ-BYTE (STREAM &OPTIONAL (EOF-ERROR-P T) EOF-VALUE)

WRITE-BYTE (INTEGER STREAM)

WRITE-STRING (STRING &OPTIONAL (STREAM *STANDARD-OUTPUT*) &KEY (START 0) END)

GENERIC-FUNCTION

Private

CLOSE (STREAM &KEY ABORT)

Close the given STREAM. No more I/O may be performed, but inquiries may still be made. If :ABORT is true, an attempt is made to clean up the side effects of having created the stream.

VARIABLE

Private

Undocumented

*ACCEPT-EXT-LIST*

*ACCEPT-FUNCTION*

*DEFAULT-DIRECTORY-PERMISSIONS*

*DEFAULT-FIELD*

*INDEX*