mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-07 20:47:45 +00:00
First sweep at cleaning up dead code
first round of a number I am sure, lots to clean. Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
@@ -1241,16 +1241,3 @@ func (index *SpecIndex) GetAllDescriptionsCount() int {
|
||||
func (index *SpecIndex) GetAllSummariesCount() int {
|
||||
return len(index.allSummaries)
|
||||
}
|
||||
|
||||
// CheckForSeenRemoteSource will check to see if we have already seen this remote source and return it,
|
||||
// to avoid making duplicate remote calls for document data.
|
||||
//func (index *SpecIndex) CheckForSeenRemoteSource(url string) (bool, *yaml.Node) {
|
||||
// if index.config == nil || index.config.seenRemoteSources == nil {
|
||||
// return false, nil
|
||||
// }
|
||||
// j, _ := index.config.seenRemoteSources.Load(url)
|
||||
// if j != nil {
|
||||
// return true, j.(*yaml.Node)
|
||||
// }
|
||||
// return false, nil
|
||||
//}
|
||||
|
||||
Reference in New Issue
Block a user