Exemple #1
0
func execRecv(path string, diff io.Reader) error {
	return executil.RunStdin(diff, "btrfs", "receive", path)
}
Exemple #2
0
func execRecv(path string, diff io.Reader) (retErr error) {
	defer func() {
		protolog.Info(&Recv{path, errorToString(retErr)})
	}()
	return executil.RunStdin(diff, "btrfs", "receive", path)
}