Example #1
0
def get_untracked_obj_files(prefix):
    res = []
    files = untracked(prefix)
    for f in files:
        path = join(prefix, f)
        if is_codefile(path):
            res.append(f)

    return res
Example #2
0
def get_package_obj_files(dist, prefix):
    data = linked_data(prefix).get(dist)

    res = []
    if data:
        for f in data.get('files', []):
            path = join(prefix, f)
            if is_codefile(path):
                res.append(f)

    return res
Example #3
0
def is_obj(path):
    return is_codefile(path)
Example #4
0
def is_obj(path):
    return is_codefile(path)