def GetCompressedStreamTypeIndicators(cls, path_spec, resolver_context=None):
    """Determines if a file contains a supported compressed stream types.

    Args:
      path_spec (PathSpec): path specification.
      resolver_context (Optional[Context]): resolver context, where None
          represents the built-in context which is not multi process safe.

    Returns:
      list[str]: supported format type indicators.
    """
    if (cls._compressed_stream_remainder_list is None or
        cls._compressed_stream_store is None):
      specification_store, remainder_list = cls._GetSpecificationStore(
          definitions.FORMAT_CATEGORY_COMPRESSED_STREAM)
      cls._compressed_stream_remainder_list = remainder_list
      cls._compressed_stream_store = specification_store

    if cls._compressed_stream_scanner is None:
      cls._compressed_stream_scanner = cls._GetSignatureScanner(
          cls._compressed_stream_store)

    return cls._GetTypeIndicators(
        cls._compressed_stream_scanner, cls._compressed_stream_store,
        cls._compressed_stream_remainder_list, path_spec,
        resolver_context=resolver_context)
def GetCompressedStreamTypeIndicators ( cls , path_spec , resolver_context = None ) : if ( cls . _compressed_stream_remainder_list is None or cls . _compressed_stream_store is None ) : specification_store , remainder_list = cls . _GetSpecificationStore ( definitions . FORMAT_CATEGORY_COMPRESSED_STREAM ) cls . _compressed_stream_remainder_list = remainder_list cls . _compressed_stream_store = specification_store if cls . _compressed_stream_scanner is None : cls . _compressed_stream_scanner = cls . _GetSignatureScanner ( cls . _compressed_stream_store ) return cls . _GetTypeIndicators ( cls . _compressed_stream_scanner , cls . _compressed_stream_store , cls . _compressed_stream_remainder_list , path_spec , resolver_context = resolver_context )
Determines if a file contains a supported compressed stream types.

    Args:
      path_spec (PathSpec): path specification.
      resolver_context (Optional[Context]): resolver context, where None
          represents the built-in context which is not multi process safe.

    Returns:
      list[str]: supported format type indicators.