Exemplo n.º 1
0
func execRecv(path string, diff io.Reader) error {
	return executil.RunStdin(diff, "btrfs", "receive", path)
}
Exemplo n.º 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)
}