mendevi.utils.cp_shm¶ mendevi.utils.cp_shm(file: Path, threshold: float) → Path[source]¶ Copy the file into /dev/shm is there is enougth free space, otherwise in /tmp.