net.File regular-file text-file
							parent
							
								
									2078fe8f72
								
							
						
					
					
						commit
						784b3d0ea2
					
				|  | @ -58,3 +58,8 @@ func Runes(a ...interface{}) []rune { | |||
| func String(a ...interface{}) string { | ||||
| 	return Default.String(a...) | ||||
| } | ||||
| 
 | ||||
| // TextFile returns an arbitrary fs.File regular-file whose content is a text-file.
 | ||||
| func TextFile() fs.File { | ||||
| 	return Default.TextFile() | ||||
| } | ||||
|  |  | |||
|  | @ -27,6 +27,7 @@ var ( | |||
| 	} | ||||
| ) | ||||
| 
 | ||||
| // TextFile returns an arbitrary fs.File regular-file whose content is a text-file.
 | ||||
| func (arb T) TextFile() fs.File { | ||||
| 
 | ||||
| 	var filecontent strfs.Content | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue