From 36708a5067f340cdb7383c6ea0c80c4defcdbafd Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Fri, 9 Jan 2015 08:18:42 +0100 Subject: [PATCH] Move FileIntf to files package, expose Iterator type This is where FileIntf is used, so it should be defined here (it's not a protocol thing, really). --- message.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/message.go b/message.go index e0c66b9d..3129f3de 100644 --- a/message.go +++ b/message.go @@ -132,15 +132,6 @@ func (f FileInfoTruncated) HasPermissionBits() bool { return f.Flags&FlagNoPermBits == 0 } -type FileIntf interface { - Size() int64 - IsDeleted() bool - IsInvalid() bool - IsDirectory() bool - IsSymlink() bool - HasPermissionBits() bool -} - type BlockInfo struct { Offset int64 // noencode (cache only) Size uint32