github.com/daixiang0/gci@v0.13.4/pkg/specificity/local_module.go (about)

     1  package specificity
     2  
     3  type LocalModule struct{}
     4  
     5  func (m LocalModule) IsMoreSpecific(than MatchSpecificity) bool {
     6  	return isMoreSpecific(m, than)
     7  }
     8  
     9  func (m LocalModule) Equal(to MatchSpecificity) bool {
    10  	return equalSpecificity(m, to)
    11  }
    12  
    13  func (LocalModule) class() specificityClass {
    14  	return LocalModuleClass
    15  }