aboutsummaryrefslogtreecommitdiffstats
path: root/src/blimp/misc.py
blob: d25c8d782cb6fe70c22d144252a2fe1cc6a9f179 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from pathlib import Path


def local_file_present(somepath) -> bool:
    """
    check local etag copy
    :return: true if present
    """
    if not Path(somepath).is_file():
        return False

    return True

def asd():
    print("yo")