pub(crate) fn check_name_constraints( constraints: Option<&mut Reader<'_>>, path: &PathNode<'_>, budget: &mut Budget, ) -> Result<(), Error>