mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-21 06:41:00 +00:00
documentation
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2159 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
44790a257a
commit
46de8b6ca0
2 changed files with 11 additions and 1 deletions
|
|
@ -53,6 +53,14 @@ class LinkCheckerError (Exception):
|
|||
def get_link_pat (arg, strict=False):
|
||||
"""
|
||||
Get a link pattern matcher for intern/extern links.
|
||||
Returns a compiled pattern and a negate and strict option.
|
||||
|
||||
@param arg: pattern from config
|
||||
@type arg: c{string}
|
||||
@param strict: if pattern is to be handled strict
|
||||
@type strict: c{bool}
|
||||
@return: dictionary with keys 'pattern', 'negate' and 'strict'
|
||||
@rtype: c{dict}
|
||||
"""
|
||||
linkcheck.log.debug(LOG_CHECK, "Link pattern %r", arg)
|
||||
if arg[0:1] == '!':
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
"""store cached data during checking"""
|
||||
"""
|
||||
Store cached data during checking.
|
||||
"""
|
||||
# Copyright (C) 2000-2005 Bastian Kleineidam
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
|
|
|
|||
Loading…
Reference in a new issue