mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-11-20 00:01:06 +00:00
12 lines
277 B
Go
12 lines
277 B
Go
package service
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
func decompressKeepMountID(_ int) (uint64, error) {
|
|
return 0, nil
|
|
}
|
|
|
|
func renameDecompressKeepDirectory(srcFD int, src string, dstFD int, dst string) error {
|
|
return unix.RenameatxNp(srcFD, src, dstFD, dst, unix.RENAME_EXCL)
|
|
}
|