pology.proj.kde.cattype

Package pology :: Package proj :: Package kde :: Module cattype |

# Module cattype

Catalog clasification.

Author: Chusslove Illich (Часлав Илић) <caslav.ilic@gmx.net>

License: GPLv3

Functions
string |
get_project_subdir(catpath) Get canonical project subdirectory path for given catalog path. |
bool |
is_txt_cat(catname, subdir) Check whether the project catalog covers plain text sources. |
bool |
is_qt_cat(catname, subdir) Check whether the project catalog covers pure Qt sources. |
bool |
is_docbook_cat(catname, subdir) Check whether the project catalog covers Docbook sources. |
bool |
is_html_cat(catname, subdir) Check whether the project catalog covers HTML sources. |
bool |
is_unknown_cat(catname, subdir) Check whether the project catalog covers unknown sources. |

Variables
| __package__ = ``'``pology.proj.kde``'``

Function Details

### get_project_subdir(catpath) |
Get canonical project subdirectory path for given catalog path. Parameters: `catpath` (string) - catalog path Returns: string project subdirectory path for this catalog

### is_txt_cat(catname, subdir) |
Check whether the project catalog covers plain text sources. Parameters: `catname` (string) - catalog domain name `subdir` (string) - catalog project subdirectory Returns: bool `True` if plain text catalog, `False` otherwise

### is_qt_cat(catname, subdir) |
Check whether the project catalog covers pure Qt sources. Parameters: `catname` (string) - catalog domain name `subdir` (string) - catalog project subdirectory Returns: bool `True` if pure Qt catalog, `False` otherwise

### is_docbook_cat(catname, subdir) |
Check whether the project catalog covers Docbook sources. Parameters: `catname` (string) - catalog domain name `subdir` (string) - catalog project subdirectory Returns: bool `True` if Docbook catalog, `False` otherwise

### is_html_cat(catname, subdir) |
Check whether the project catalog covers HTML sources. Parameters: `catname` (string) - catalog domain name `subdir` (string) - catalog project subdirectory Returns: bool `True` if HTML catalog, `False` otherwise

### is_unknown_cat(catname, subdir) |
Check whether the project catalog covers unknown sources. Parameters: `catname` (string) - catalog domain name `subdir` (string) - catalog project subdirectory Returns: bool `True` if unknown catalog, `False` otherwise