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
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
def is_obj(path): return is_codefile(path)