repo2docker/contentproviders/base.py
def detect(self, repo, ref=None, extra_args=None):
        """Determine compatibility between source and this provider.

        If the provider knows how to fetch this source it will return a
        `spec` that can be passed to `fetch`. The arguments are the `repo`
        string passed on the command-line, the value of the --ref parameter,
        if provided and any provider specific arguments provided on the
        command-line.

        If the provider does not know how to fetch this source it will return
        `None`.
        """
        raise NotImplementedError()
Determine compatibility between source and this provider.

        If the provider knows how to fetch this source it will return a
        `spec` that can be passed to `fetch`. The arguments are the `repo`
        string passed on the command-line, the value of the --ref parameter,
        if provided and any provider specific arguments provided on the
        command-line.

        If the provider does not know how to fetch this source it will return
        `None`.
        
Determine compatibility between source and this provider.
If the provider knows how to fetch this source it will return a
`spec` that can be passed to `fetch`. The arguments are the `repo`
string passed on the command-line, the value of the --ref parameter,
if provided and any provider specific arguments provided on the
command-line.

If the provider does not know how to fetch this source it will return
`None`.
Determine compatibility between source and this provider . If the provider knows how to fetch this source it will return a ` spec ` that can be passed to ` fetch ` . The arguments are the ` repo ` string passed on the command - line the value of the -- ref parameter if provided and any provider specific arguments provided on the command - line . If the provider does not know how to fetch this source it will return ` None ` .
def detect(self, repo, ref=None, extra_args=None):
        raise NotImplementedError()
def detect ( self , repo , ref = None , extra_args = None ) : raise NotImplementedError ( )
Determine compatibility between source and this provider.
Determine compatibility between source and this provider .
"""Determine compatibility between source and this provider.

        If the provider knows how to fetch this source it will return a
        `spec` that can be passed to `fetch`. The arguments are the `repo`
        string passed on the command-line, the value of the --ref parameter,
        if provided and any provider specific arguments provided on the
        command-line.

        If the provider does not know how to fetch this source it will return
        `None`.
        """
self
repo
ref
extra_args