mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-01-23 02:35:10 +00:00
ci: remove goconst
This commit is contained in:
parent
1d494ff315
commit
8b8fb3343f
6 changed files with 5 additions and 11 deletions
|
|
@ -217,7 +217,6 @@ func (i *FileInfo) RealPath() string {
|
|||
return i.Path
|
||||
}
|
||||
|
||||
//nolint:goconst
|
||||
func (i *FileInfo) detectType(modify, saveContent, readHeader bool) error {
|
||||
if IsNamedPipe(i.Mode) {
|
||||
i.Type = "blob"
|
||||
|
|
|
|||
|
|
@ -16,8 +16,6 @@ type Listing struct {
|
|||
}
|
||||
|
||||
// ApplySort applies the sort order using .Order and .Sort
|
||||
//
|
||||
//nolint:goconst
|
||||
func (l Listing) ApplySort() {
|
||||
// Check '.Order' to know how to sort
|
||||
if !l.Sorting.Asc {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue