From 20af78f25aefae89a95ff6b0546462189ea02780 Mon Sep 17 00:00:00 2001
From: Florian Weingarten <flo@hackvalue.de>
Date: Sat, 25 Apr 2015 15:09:55 -0400
Subject: [PATCH] remove dead code

---
 progress.go | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/progress.go b/progress.go
index f8725a48d..3f2b32095 100644
--- a/progress.go
+++ b/progress.go
@@ -86,16 +86,6 @@ func (p *Progress) Report(s Stat) {
 	}
 }
 
-// Report a file with the given size.
-func (p *Progress) ReportFile(size uint64) {
-	p.Report(Stat{Files: 1, Bytes: size})
-}
-
-// Report a directory.
-func (p *Progress) ReportDir() {
-	p.Report(Stat{Dirs: 1})
-}
-
 func (p *Progress) reporter() {
 	if p == nil {
 		return
@@ -157,15 +147,6 @@ func (p *Progress) Done() {
 	}
 }
 
-// Current returns the current stat value.
-func (p *Progress) Current() Stat {
-	p.curM.Lock()
-	s := p.cur
-	p.curM.Unlock()
-
-	return s
-}
-
 // Add accumulates other into s.
 func (s *Stat) Add(other Stat) {
 	s.Bytes += other.Bytes