MCPcopy Index your code
hub / github.com/git-lfs/git-lfs / Progress

Method Progress

tq/transfer.go:24–35  ·  view source on GitHub ↗

Progress returns a string containing the operation in progress.

()

Source from the content-addressed store, hash-verified

22
23// Progress returns a string containing the operation in progress.
24func (d Direction) Progress() string {
25 switch d {
26 case Checkout:
27 return tr.Tr.Get("Checking out LFS objects")
28 case Download:
29 return tr.Tr.Get("Downloading LFS objects")
30 case Upload:
31 return tr.Tr.Get("Uploading LFS objects")
32 default:
33 return "<unknown>"
34 }
35}
36
37func (d Direction) String() string {
38 switch d {

Callers 1

strMethod · 0.80

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected