mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-19 16:16:48 +00:00
17 lines
206 B
Python
Executable File
17 lines
206 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import os
|
|
import sys
|
|
import tempfile
|
|
|
|
(fd,filepath) = tempfile.mkstemp(dir=sys.argv[1])
|
|
|
|
x = os.lstat(filepath)
|
|
x = os.fstat(fd)
|
|
|
|
os.unlink(filepath)
|
|
|
|
y = os.fstat(fd)
|
|
|
|
os.close(fd)
|