Files @ 17556a81ec6f
Branch filter:

Location: kallithea/docs/api/models.rst

17556a81ec6f 668 B text/prs.fallenstein.rst Show Annotation Show as Raw Download as Raw
Stefan Engel
Make detecting bare Git repositories more robust

Git remote repositories may end on '.git', e.g. myrepo.git. Just checking
for a repository path to end on '.git' causes 'Repository not found' errors
in such a case. To distinguish between bare and normal Git repositories,
check if there is a '/.git' part at the end of the repository path
(i.e. if GIT_DIR is pointing to '.' (bare) or '.git').
.. _models:

========================
The :mod:`models` Module
========================

.. automodule:: rhodecode.model
   :members:
   
.. automodule:: rhodecode.model.comment
   :members:
  
.. automodule:: rhodecode.model.notification
   :members:   

.. automodule:: rhodecode.model.permission
   :members:

.. automodule:: rhodecode.model.repo_permission
   :members:      

.. automodule:: rhodecode.model.repo
   :members:   

.. automodule:: rhodecode.model.repos_group
   :members:
   
.. automodule:: rhodecode.model.scm
   :members:
   
.. automodule:: rhodecode.model.user
   :members:      
   
.. automodule:: rhodecode.model.users_group
   :members: