pub fn update_dir( conn: &MysqlConnection, dirid: i32, iddest: Option<i32>, new_name: Option<&str>, ) -> Result<(), IcError>