Skip to content

Instantly share code, notes, and snippets.

View eMPee584's full-sized avatar
💾
funk soul software

Marcel Partap eMPee584

💾
funk soul software
  • Open Source Ecology Germany e.V.
  • Dresden.EU
  • 10:22 (UTC +01:00)
  • X @eMPee584
View GitHub Profile
@eMPee584
eMPee584 / MoveFile.go
Last active November 29, 2020 20:41 — forked from var23rav/MoveFile.go
GoLang: os.Rename() give error "invalid cross-device link" for Docker container with Volumes. MoveFile(source, destination) will work moving file between folders
package crossdevice
import (
"fmt"
"io"
"os"
)
/*
GoLang: os.Rename() give error "invalid cross-device link" for Docker container with Volumes.
@eMPee584
eMPee584 / MoveFile.go
Created November 29, 2020 20:35 — forked from LevinLin/MoveFile.go
GoLang: os.Rename() give error "invalid cross-device link" for Docker container with Volumes. MoveFile(source, destination) will work moving file between folders
import (
"fmt"
"io"
"os"
)
/*
GoLang: os.Rename() give error "invalid cross-device link" for Docker container with Volumes.
MoveFile(source, destination) will work moving file between folders
*/