mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Update swagger to 0.20.1 (#8010)
* update swagger to 0.20.1 * fiw swagger version for validate
This commit is contained in:
		
							
								
								
									
										8
									
								
								vendor/github.com/prometheus/procfs/fs.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/github.com/prometheus/procfs/fs.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -26,8 +26,14 @@ type FS struct { | ||||
| // DefaultMountPoint is the common mount point of the proc filesystem. | ||||
| const DefaultMountPoint = fs.DefaultProcMountPoint | ||||
|  | ||||
| // NewDefaultFS returns a new proc FS mounted under the default proc mountPoint. | ||||
| // It will error if the mount point directory can't be read or is a file. | ||||
| func NewDefaultFS() (FS, error) { | ||||
| 	return NewFS(DefaultMountPoint) | ||||
| } | ||||
|  | ||||
| // NewFS returns a new proc FS mounted under the given proc mountPoint. It will error | ||||
| // if the mount point dirctory can't be read or is a file. | ||||
| // if the mount point directory can't be read or is a file. | ||||
| func NewFS(mountPoint string) (FS, error) { | ||||
| 	fs, err := fs.NewFS(mountPoint) | ||||
| 	if err != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Antoine GIRARD
					Antoine GIRARD