feat(aa): add initial profile validation structure.
This commit is contained in:
parent
2dd6046697
commit
92641e7e28
20 changed files with 222 additions and 2 deletions
|
|
@ -81,6 +81,10 @@ func newFileFromLog(log map[string]string) Rule {
|
|||
}
|
||||
}
|
||||
|
||||
func (r *File) Validate() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (r *File) Less(other any) bool {
|
||||
o, _ := other.(*File)
|
||||
letterR := getLetterIn(fileAlphabet, r.Path)
|
||||
|
|
@ -140,6 +144,10 @@ func newLinkFromLog(log map[string]string) Rule {
|
|||
}
|
||||
}
|
||||
|
||||
func (r *Link) Validate() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (r *Link) Less(other any) bool {
|
||||
o, _ := other.(*Link)
|
||||
if r.Path != o.Path {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue