The mnas-path Reference Manual

This is the mnas-path Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:05:34 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 mnas-path

Describe mnas-path here

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Dependencies
  • cl-fad (system).
  • mnas-string (system).
Source

mnas-path.asd.

Child Component

src (module).


3 Modules

Modules are listed depth-first from the system components tree.


3.1 mnas-path/src

Source

mnas-path.asd.

Parent Component

mnas-path (system).

Child Component

mnas-path.lisp (file).


4 Files

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


4.1 Lisp


4.1.1 mnas-path/mnas-path.asd

Source

mnas-path.asd.

Parent Component

mnas-path (system).

ASDF Systems

mnas-path.


4.1.2 mnas-path/src/mnas-path.lisp

Source

mnas-path.asd.

Parent Component

src (module).

Packages

mnas-path.

Public Interface

5 Packages

Packages are listed by definition order.


5.1 mnas-path

Source

mnas-path.lisp.

Use List

common-lisp.

Public Interface

6 Definitions

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


6.1 Public Interface


6.1.1 Ordinary functions

Function: directory-basename (path)

@b(Описание:) функция @b(dir-basename) возвращает базовое имя каталога.

@b(Пример использования:)
@begin[lang=lisp](code)
(directory-basename #P"D:/home/_namatv/PRG/msys64/") => "msys64" @end(code)

Package

mnas-path.

Source

mnas-path.lisp.

Function: find-directory-parent (dirname name)

@b(Описание:) find-directory-parent

Package

mnas-path.

Source

mnas-path.lisp.

Function: find-filename (dirname extension)

@b(Описание:) find-filename возвращает список файлов с расширением extension. Поиск начинается с каталога dirname, вглубь дерева каталогов. Элементами возврвщаемого списка являются строки.

@b(Пример использования:)
@begin[lang=lisp](code)
(find-filename "/_storage/otd11/namatv/develop/git/clisp/" "asd") @end(code)

Package

mnas-path.

Source

mnas-path.lisp.

Function: find-filename-directory (dirname extension)

@b(Описание:) find-filename-directory возвращает список каталогов,
в которых присутствуют файлы с расширением extension;

Поиск начинается с каталога dirname, вглубь дерева каталогов;

Елементами возврвщаемого списка являются строки;

@b(Пример использования:)
@begin[lang=lisp](code)
(find-filename-directory "/_storage/otd11/namatv/develop/git/clisp/" "asd") @end(code)

Package

mnas-path.

Source

mnas-path.lisp.

Function: pathname-directory-subtract (path-1 path-2 &key absolute)

@b(Описание:) функция @b(pathname-directory-subtract) вычитает из пути
path-1 путь path-2.

@b(Пример использования:)
@begin[lang=lisp](code)
(pathname-directory-subtract "~/quicklisp/local-projects/" "~/quicklisp/local-projects/mnas/mnas-path/docs/1.txt") => #P"/mnas/mnas-path/docs/1.txt"
@end(code)

Package

mnas-path.

Source

mnas-path.lisp.

Function: pathname-merge (path-root path-file)
Package

mnas-path.

Source

mnas-path.lisp.

Function: walk-directory-by-name (dirname name &key fn)

@b(Описание:) walk-directory-by-name

Package

mnas-path.

Source

mnas-path.lisp.

Function: walk-file-by-extension (dirname extension &key fn fn-extension dir-ignore)

@b(Пример использования:)
@begin[lang=lisp](code)
(walk-file-by-extension "/_storage/otd11/namatv/develop/git/clisp/" "" :fn-extension #’(lambda (x) (member (pathname-type x) ’("lisp" "txt") :test #’string=))) (walk-file-by-extension "/_storage/otd11/namatv/develop/git/clisp/" "asd")
@end(code)

Package

mnas-path.

Source

mnas-path.lisp.


Appendix A Indexes


A.1 Concepts


A.3 Variables