INNER CODE UNIT · Python

c

awesome-android-root/awesome-android-root · scripts/check_links.py:68

            c = cand + ext
            if os.path.isfile(c):
                return c
        return None
    base = os.path.normpath(os.path.join(dirn, path))
    if os.path.isfile(base):
        return base
    for ext in ('', '.md', '/index.md', '/index.html'):
        c = base + ext
        if os.path.isfile(c):
            return c
    return None


def main():
    files = sorted(glob.glob(os.path.join(DOCS, '**', '*.md'), recursive=True))
    errors = []
    checked = 0

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…