code: def getVersions(self):
          
          if not os.path.exists(self._path):
              return []
  
          result = []
  
          for entryName in os.listdir(self._path):
              try:
                  entryVersion = Version(entryName)
                  result.append(entryVersion)
              except InvalidVersionException:
                  continue
  
          return result
docs: Returns the versions of the suitable entries
          available in the directory - an empty list
          if no such entry is available