| err = ESUCCESS, err0 = err1, fid = root[path].fid, root.dir?, fids-cons(root, fs, ofh), pre-writemeta(path, md, err, user, root, fs, ofh), fid ∈ fs ⊦ ⟪psynced := ?⟫ (root.dir? ∧ fids-cons(root, fs[fid, fs[fid].meta:= md], ofh)), root[path].dir? |
root.dir?, fids-cons(root, fs, ofh), pw(user, path, root, fs), root[path].fid ∈ fs, path ∈ root, ¬ root[path].dir? ⊦ ⟪psynced := ?⟫ fids-cons(root, fs[root[path].fid, mkfile(md, fs[root[path].fid].content)], ofh)
Used simplifier rules: ⊦ f.meta:= md = mkfile(md, f.content); (s)%⊦ pre-writemeta(p, md, ESUCCESS, user, root, fs, ofh) ↔ p ∈ root ∧ pw(user, p, root, fs); (s)