mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Add golangci (#6418)
This commit is contained in:
		| @@ -87,16 +87,6 @@ func getCommitTree(c *object.Commit, treePath string) (*object.Tree, error) { | ||||
| 	return tree, nil | ||||
| } | ||||
|  | ||||
| func getFullPath(treePath, path string) string { | ||||
| 	if treePath != "" { | ||||
| 		if path != "" { | ||||
| 			return treePath + "/" + path | ||||
| 		} | ||||
| 		return treePath | ||||
| 	} | ||||
| 	return path | ||||
| } | ||||
|  | ||||
| func getFileHashes(c *object.Commit, treePath string, paths []string) (map[string]plumbing.Hash, error) { | ||||
| 	tree, err := getCommitTree(c, treePath) | ||||
| 	if err == object.ErrDirectoryNotFound { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 kolaente
					kolaente