mirror of
https://github.com/lxc/incus.git
synced 2026-02-06 12:46:34 +01:00
14 lines
293 B
Go
14 lines
293 B
Go
package instancewriter
|
|
|
|
import (
|
|
"io"
|
|
"os"
|
|
)
|
|
|
|
// InstanceWriter is the instance writer interface.
|
|
type InstanceWriter interface {
|
|
ResetHardLinkMap()
|
|
WriteFile(name string, srcPath string, fi os.FileInfo, ignoreGrowth bool) error
|
|
WriteFileFromReader(src io.Reader, fi os.FileInfo) error
|
|
}
|