mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-23 20:38:47 +01:00
22 lines
441 B
Go
22 lines
441 B
Go
|
// Copyright 2024 The Gitea Authors. All rights reserved.
|
||
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
package lfstransfer
|
||
|
|
||
|
import (
|
||
|
"github.com/charmbracelet/git-lfs-transfer/transfer"
|
||
|
)
|
||
|
|
||
|
var _ transfer.Logger = (*GiteaLogger)(nil)
|
||
|
|
||
|
// noop logger for passing into transfer
|
||
|
type GiteaLogger struct{}
|
||
|
|
||
|
func newLogger() transfer.Logger {
|
||
|
return &GiteaLogger{}
|
||
|
}
|
||
|
|
||
|
// Log implements transfer.Logger
|
||
|
func (g *GiteaLogger) Log(msg string, itms ...any) {
|
||
|
}
|