mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Fix various documentation, user-facing, and source comment typos (#16367)
* Fix various doc, user-facing, and source comment typos Found via `codespell -q 3 -S ./options/locale,./vendor -L ba,pullrequest,pullrequests,readby`
This commit is contained in:
		@@ -154,7 +154,7 @@ func StatDir(rootPath string, includeDir ...bool) ([]string, error) {
 | 
			
		||||
	return statDir(rootPath, "", isIncludeDir, false, false)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// FileURLToPath extracts the path informations from a file://... url.
 | 
			
		||||
// FileURLToPath extracts the path information from a file://... url.
 | 
			
		||||
func FileURLToPath(u *url.URL) (string, error) {
 | 
			
		||||
	if u.Scheme != "file" {
 | 
			
		||||
		return "", errors.New("URL scheme is not 'file': " + u.String())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user