type golang.org/x/mod/modfile.File

27 uses

	golang.org/x/mod/modfile (current package)
		rule.go#L37: type File struct {
		rule.go#L95: func (f *File) AddModuleStmt(path string) error {
		rule.go#L111: func (f *File) AddComment(text string) {
		rule.go#L130: func Parse(file string, data []byte, fix VersionFixer) (*File, error) {
		rule.go#L141: func ParseLax(file string, data []byte, fix VersionFixer) (*File, error) {
		rule.go#L145: func parseToFile(file string, data []byte, fix VersionFixer, strict bool) (*File, error) {
		rule.go#L150: 	f := &File{
		rule.go#L197: func (f *File) add(errs *ErrorList, block *LineBlock, line *Line, verb string, args []string, fix VersionFixer, strict bool) {
		rule.go#L669: func (f *File) Format() ([]byte, error) {
		rule.go#L677: func (f *File) Cleanup() {
		rule.go#L717: func (f *File) AddGoStmt(version string) error {
		rule.go#L737: func (f *File) AddRequire(path, vers string) error {
		rule.go#L758: func (f *File) AddNewRequire(path, vers string, indirect bool) {
		rule.go#L764: func (f *File) SetRequire(req []*Require) {
		rule.go#L825: func (f *File) DropRequire(path string) error {
		rule.go#L835: func (f *File) AddExclude(path, vers string) error {
		rule.go#L850: func (f *File) DropExclude(path, vers string) error {
		rule.go#L860: func (f *File) AddReplace(oldPath, oldVers, newPath, newVers string) error {
		rule.go#L897: func (f *File) DropReplace(oldPath, oldVers string) error {
		rule.go#L907: func (f *File) AddRetract(vi VersionInterval, rationale string) error {
		rule.go#L925: func (f *File) DropRetract(vi VersionInterval) error {
		rule.go#L935: func (f *File) SortBlocks() {
		rule.go#L964: func (f *File) removeDups() {

	golang.org/x/pkgsite/internal
		latest.go#L23: 	GoModFile          *modfile.File // of raw
		latest.go#L50: func isDeprecated(mf *modfile.File) (bool, string) {
		latest.go#L81: func isRetracted(mf *modfile.File, resolvedVersion string) (bool, string) {

	golang.org/x/pkgsite/internal/fetch
		fetch.go#L351: func extractDeprecatedComment(mf *modfile.File) (bool, string) {