mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-22 08:55:25 +08:00
16 lines
175 B
Plaintext
16 lines
175 B
Plaintext
|
#!/usr/bin/env python3
|
||
|
|
||
|
import os
|
||
|
import sys
|
||
|
import tempfile
|
||
|
|
||
|
(fd,filepath) = tempfile.mkstemp(dir=sys.argv[1])
|
||
|
|
||
|
os.fstat(fd)
|
||
|
|
||
|
os.unlink(filepath)
|
||
|
|
||
|
os.fstat(fd)
|
||
|
|
||
|
os.close(fd)
|