Skip to content

Follow file symlinks in the UI to their target #28835

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jun 30, 2025
Merged
Prev Previous commit
Next Next commit
Also add the new method in the gogit version
  • Loading branch information
delvh committed Jan 17, 2024
commit 3dbee7953361e7a682fed7cd17665ff7a8855127
4 changes: 4 additions & 0 deletions modules/git/tree_entry_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ func (te *TreeEntry) Size() int64 {
return te.size
}

func (te *TreeEntry) FullPath() bool {
return te.Name()
}

// IsSubModule if the entry is a sub module
func (te *TreeEntry) IsSubModule() bool {
return te.gogitTreeEntry.Mode == filemode.Submodule
Expand Down
1 change: 1 addition & 0 deletions modules/git/tree_entry_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func (te *TreeEntry) Size() int64 {
te.sized = true
return te.size
}

func (te *TreeEntry) FullPath() string {
if te.fullName == "" {
return te.Name()
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy