diff options
Diffstat (limited to 'chunk.go')
-rw-r--r-- | chunk.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -38,6 +38,10 @@ func (c *Chunk) Reader(repo string) (io.Reader, error) { return nil, &ChunkError{"Uninitialized chunk"} } +func (c *Chunk) isStored() bool { + return c.Id != nil +} + type ChunkError struct { err string } |