rename method

This commit is contained in:
yggverse 2024-11-28 02:46:40 +02:00
parent 9084c10211
commit 2c3b147337
4 changed files with 5 additions and 5 deletions

View file

@ -55,7 +55,7 @@ impl Memory {
/// Get identity match `request`
/// * [Client certificates specification](https://geminiprotocol.net/docs/protocol-specification.gmi#client-certificates)
/// * contain unspecified length priority implementation @TODO
pub fn match_request(&self, request: &str) -> Option<Auth> {
pub fn match_scope(&self, request: &str) -> Option<Auth> {
let mut result = Vec::new();
// Get all records starts with `scope`