Skip to content

Commit 219a284

Browse files
committed
Make OneAgentAllowedByRobots public
Signed-off-by: Yves Bastide <[email protected]>
1 parent 3191b2f commit 219a284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RobotsTxt/RobotsMatcher.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ public void Clear()
308308
byte[]? _path;
309309
private List<byte[]>? _userAgents; // Set by InitUserAgentsAndPath.
310310

311-
internal bool OneAgentAllowedByRobots(byte[] robotsContent, string userAgent, string url)
311+
public bool OneAgentAllowedByRobots(byte[] robotsContent, string userAgent, string url)
312312
{
313313
var userAgents = new List<string> { userAgent };
314314
return AllowedByRobots(robotsContent, userAgents, url);

0 commit comments

Comments
 (0)