mirror of
https://github.com/restic/restic.git
synced 2024-12-24 16:54:00 +00:00
Rename parameter filename -> path
This commit is contained in:
parent
89938bc21c
commit
a8aa4eb06c
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ import (
|
|||
// RejectFunc is a function that takes a filename and os.FileInfo of a
|
||||
// file that would be included in the backup. The function returns true if it
|
||||
// should be excluded (rejected) from the backup.
|
||||
type RejectFunc func(filename string, fi os.FileInfo) bool
|
||||
type RejectFunc func(path string, fi os.FileInfo) bool
|
||||
|
||||
// rejectByPattern returns a RejectFunc which rejects files that match
|
||||
// one of the patterns.
|
||||
|
|
Loading…
Reference in a new issue