mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	@@ -235,6 +235,9 @@ func Repos(ctx *context.Context) {
 | 
				
			|||||||
		root := filepath.Join(models.UserPath(ctxUser.Name))
 | 
							root := filepath.Join(models.UserPath(ctxUser.Name))
 | 
				
			||||||
		if err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
 | 
							if err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
 | 
				
			||||||
			if err != nil {
 | 
								if err != nil {
 | 
				
			||||||
 | 
									if os.IsNotExist(err) {
 | 
				
			||||||
 | 
										return nil
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
				return err
 | 
									return err
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			if !info.IsDir() || path == root {
 | 
								if !info.IsDir() || path == root {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user