Skip to content

Commit

Permalink
[XrdCl] Add ZipArchive::IsOpen method.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jan 13, 2021
1 parent d87b60f commit 9faaa1f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/XrdCl/XrdClZipArchive.hh
Expand Up @@ -239,6 +239,14 @@ namespace XrdCl
//-----------------------------------------------------------------------
XRootDStatus List( DirectoryList *&list );

//-----------------------------------------------------------------------
//! @return : true if ZIP archive has been successfully opened
//-----------------------------------------------------------------------
inline bool IsOpen()
{
return openstage == Done;
}

private:

//-----------------------------------------------------------------------
Expand Down

0 comments on commit 9faaa1f

Please sign in to comment.