Skip to content

Commit

Permalink
Still debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
benpate committed Nov 20, 2024
1 parent ddca57d commit a8e8ae0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions service/streamArchive.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,12 @@ func (service *StreamArchive) Close() {
// Exists returns TRUE if the specified ZIP archive exists in the export cache
func (service *StreamArchive) Exists(streamID primitive.ObjectID, token string) bool {
filename := service.filename(streamID, token)
exists, _ := afero.Exists(service.exportCache, filename)
spew.Dump("service.StreamArchive.Exists:", filename, exists)
exists, err := afero.Exists(service.exportCache, filename)
spew.Dump("service.StreamArchive.Exists ----------------:", filename, exists, err)

fileInfo, err := service.exportCache.Stat(filename)
spew.Dump(fileInfo, err)
spew.Dump("------------------")
return exists
}

Expand Down

0 comments on commit a8e8ae0

Please sign in to comment.