func Del(p Proposer, path string, rev int64) (e store.Event) { e.Mut, e.Err = store.EncodeDel(path, rev) if e.Err != nil { return } return p.Propose([]byte(e.Mut)) }
func Del(p Proposer, path, cas string) os.Error { mut, err := store.EncodeDel(path, cas) if err != nil { return err } _, _, err = p.Propose(mut) return err }