| buf = fs[fid].content, err = ESUCCESS, err0 = err1, fid = root[path].fid, root.dir?, fids-cons(root, fs, ofh), pre-truncate(path, n, err, user, root, fs, ofh), fid ∈ fs ⊦ ⟪fs[fid].content := resize(buf, n); psynced := ?⟫ fids-cons(root, fs, ofh) |
buf = fs[fid].content, err = ESUCCESS, err0 = err1, fid = root[path].fid, root.dir?, fids-cons(root, fs, ofh), pre-truncate(path, n, err, user, root, fs, ofh), fid ∈ fs ⊦ ⟪psynced := ?⟫ fids-cons(root, fs[fid, fs[fid].content:= resize(buf, n)], ofh)