fn write_directory<ObjectID: FsVerityHashValue>(
dir: &Directory<ObjectID>,
dirfd: &OwnedFd,
name: &OsStr,
repo: &Repository<ObjectID>,
) -> Result<()>fn write_directory<ObjectID: FsVerityHashValue>(
dir: &Directory<ObjectID>,
dirfd: &OwnedFd,
name: &OsStr,
repo: &Repository<ObjectID>,
) -> Result<()>