mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Add const XMLParseNoEnt to stub
This commit is contained in:
@@ -10,7 +10,7 @@ package main
|
||||
//go:generate depstubber -vendor github.com/jbowtie/gokogiri/xml Node
|
||||
//go:generate depstubber -vendor github.com/jbowtie/gokogiri/xpath "" Compile
|
||||
//go:generate depstubber -vendor github.com/santhosh-tekuri/xpathparser "" Parse,MustParse
|
||||
//go:generate depstubber -vendor github.com/lestrrat-go/libxml2/parser Parser New
|
||||
//go:generate depstubber -vendor github.com/lestrrat-go/libxml2/parser Parser New,XMLParseNoEnt
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// This is a simple stub for github.com/lestrrat-go/libxml2/parser, strictly for use in testing.
|
||||
|
||||
// See the LICENSE file for information about the licensing of the original library.
|
||||
// Source: github.com/lestrrat-go/libxml2/parser (exports: Parser; functions: New)
|
||||
// Source: github.com/lestrrat-go/libxml2/parser (exports: Parser; functions: New,XMLParseNoEnt)
|
||||
|
||||
// Package parser is a stub of github.com/lestrrat-go/libxml2/parser, generated by depstubber.
|
||||
package parser
|
||||
@@ -38,3 +38,5 @@ func (_ *Parser) ParseReader(_ io.Reader) (interface{}, error) {
|
||||
func (_ *Parser) ParseString(_ string) (interface{}, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
var XMLParseNoEnt Option = 0
|
||||
|
||||
Reference in New Issue
Block a user