typos and spelling correction

This commit is contained in:
dartraiden
2015-04-28 18:34:55 +03:00
committed by Jakob Borg
parent a5e11c7489
commit 32a76901a9
20 changed files with 27 additions and 27 deletions

View File

@@ -46,7 +46,7 @@ type Walker struct {
BlockSize int
// If Matcher is not nil, it is used to identify files to ignore which were specified by the user.
Matcher *ignore.Matcher
// If TempNamer is not nil, it is used to ignore tempory files when walking.
// If TempNamer is not nil, it is used to ignore temporary files when walking.
TempNamer TempNamer
// Number of hours to keep temporary files for
TempLifetime time.Duration
@@ -387,7 +387,7 @@ func SymlinkTypeEqual(disk, index uint32) bool {
// know and someone else knows, just accept it. The fact that you don't
// know means you are on Unix, and on Unix you don't really care what the
// target type is. The moment you do know, and if something doesn't match,
// that will propogate throught the cluster.
// that will propagate through the cluster.
if disk&protocol.FlagSymlinkMissingTarget != 0 && index&protocol.FlagSymlinkMissingTarget == 0 {
return true
}