old_contents: # -*- coding: utf-8 -*-
  from __future__ import absolute_import
  
  from . import base
  
  
  class Section(base.SectionBase):
  	def gc(self, **kwargs):
  		"""Removes stored objects that are not pinned from the repo.
  
  		.. code-block:: python
  
  			>>> client.repo.gc()
  			[{'Key': 'QmNPXDC6wTXVmZ9Uoc8X1oqxRRJr4f1sDuyQuwaHG2mpW2'},
  			 {'Key': 'QmNtXbF3AjAk59gQKRgEdVabHcSsiPUnJwHnZKyj2x8Z3k'},
  			 {'Key': 'QmRVBnxUCsD57ic5FksKYadtyUbMsyo9KYQKKELajqAp4q'},
  			 …
  			 {'Key': 'QmYp4TeCurXrhsxnzt5wqLqqUz8ZRg5zsc7GuUrUSDtwzP'}]
  
  		Performs a garbage collection sweep of the local set of
  		stored objects and remove ones that are not pinned in order
  		to reclaim hard disk space. Returns the hashes of all collected
  		objects.
  
  		Parameters
  		----------
  		method : str
  		    Optional. Specifying method='head' will avoid requesting the
  		    full list of removed hashes, returning an empty dict instead.
  		    This is potentially much faster.
  
  		Returns
  		-------
  			dict
  				List of IPFS objects that have been removed
  		"""
  		return self._client.request('/repo/gc', decoder='json', **kwargs)
  	
  	
  	@base.returns_single_item
  	def stat(self, **kwargs):
  		"""Displays the repo's status.
  
  		Returns the number of objects in the repo and the repo's size,
  		version, and path.
  
  		.. code-block:: python
  
  			>>> client.repo.stat()
  			{'NumObjects': 354,
  			 'RepoPath': '…/.local/share/ipfs',
  			 'Version': 'fs-repo@4',
  			 'RepoSize': 13789310}
  
  		Returns
  		-------
  			dict
  				General information about the IPFS file repository
  
  		+------------+-------------------------------------------------+
  		| NumObjects | Number of objects in the local repo.            |
  		+------------+-------------------------------------------------+
  		| RepoPath   | The path to the repo being currently used.      |
  		+------------+-------------------------------------------------+
  		| RepoSize   | Size in bytes that the repo is currently using. |
  		+------------+-------------------------------------------------+
  		| Version    | The repo version.                               |
  		+------------+-------------------------------------------------+
  		"""
  		return self._client.request('/repo/stat', decoder='json', **kwargs)
  
  
  	#TODO: `version()`
  
new_contents: # -*- coding: utf-8 -*-
  from __future__ import absolute_import
  
  from . import base
  
  
  class Section(base.SectionBase):
  	def gc(self, **kwargs):
  		"""Removes stored objects that are not pinned from the repo.
  
  		.. code-block:: python
  
  			>>> client.repo.gc()
  			[{'Key': 'QmNPXDC6wTXVmZ9Uoc8X1oqxRRJr4f1sDuyQuwaHG2mpW2'},
  			 {'Key': 'QmNtXbF3AjAk59gQKRgEdVabHcSsiPUnJwHnZKyj2x8Z3k'},
  			 {'Key': 'QmRVBnxUCsD57ic5FksKYadtyUbMsyo9KYQKKELajqAp4q'},
  			 …
  			 {'Key': 'QmYp4TeCurXrhsxnzt5wqLqqUz8ZRg5zsc7GuUrUSDtwzP'}]
  
  		Performs a garbage collection sweep of the local set of
  		stored objects and remove ones that are not pinned in order
  		to reclaim hard disk space. Returns the hashes of all collected
  		objects.
  
  		Parameters
  		----------
  
  		return_result : bool
  		Defaults to True.
  		Passing False will return None and avoid downloading
  		the list of removed objects.
  
  		Returns
  		-------
  			dict
  				List of IPFS objects that have been removed
  		"""
  		return self._client.request('/repo/gc', decoder='json', **kwargs)
  	
  	
  	@base.returns_single_item
  	def stat(self, **kwargs):
  		"""Displays the repo's status.
  
  		Returns the number of objects in the repo and the repo's size,
  		version, and path.
  
  		.. code-block:: python
  
  			>>> client.repo.stat()
  			{'NumObjects': 354,
  			 'RepoPath': '…/.local/share/ipfs',
  			 'Version': 'fs-repo@4',
  			 'RepoSize': 13789310}
  
  		Returns
  		-------
  			dict
  				General information about the IPFS file repository
  
  		+------------+-------------------------------------------------+
  		| NumObjects | Number of objects in the local repo.            |
  		+------------+-------------------------------------------------+
  		| RepoPath   | The path to the repo being currently used.      |
  		+------------+-------------------------------------------------+
  		| RepoSize   | Size in bytes that the repo is currently using. |
  		+------------+-------------------------------------------------+
  		| Version    | The repo version.                               |
  		+------------+-------------------------------------------------+
  		"""
  		return self._client.request('/repo/stat', decoder='json', **kwargs)
  
  
  	#TODO: `version()`
  
subject: change docs in gc()