Exemplo n.º 1
0
def computeFileChecksums(fs_access, f):
    # File literal inputs with no path, no checksum
    if isinstance(f, dict) and f.get("location", "").startswith("_:"):
        return f
    else:
        return compute_checksums(fs_access, f)
Exemplo n.º 2
0
def computeFileChecksums(fs_access, f):
    # File literal inputs with no path, no checksum
    if isinstance(f, dict) and f.get("location", "").startswith("_:"):
        return f
    else:
        return compute_checksums(fs_access, f)