Docs exports: JSON llms.txt llms-full.txt Agent Files

class Shards::Policy::SourceRules

Defined in:

policy.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(allowed_hosts : Array(String) = [] of String, allowed_orgs : Hash(String, Array(String)) = {} of String => Array(String), deny_path_dependencies : Bool = false) #

[View source]

Instance Method Detail

def allowed_hosts : Array(String) #

[View source]
def allowed_orgs : Hash(String, Array(String)) #

[View source]
def deny_path_dependencies? : Bool #

[View source]
def empty? #

[View source]