(self, path: str, recursive: bool = False, **kwargs: base.CommonArgs)
return self._client.request('/files/rm', args, **kwargs)
Removes a file from the MFS
		
		Note that the file's contents will not actually be removed from the IPFS
		node until the next repository GC run. If it is important to have the
		file's contents erased from the node this may be done manually by calling
		:meth`~ipfshttpclient.Client.repo.gc` at a time of convenience.
		
		.. code-block:: python
		
			>>> client.files.rm("/bla/file")
		
		Parameters
		----------
		path
			Filepath within the MFS
		recursive
			Recursively remove directories?
Removes a file from the MFS
		
		Note that the file's contents will not actually be removed from the IPFS
		node until the next repository GC run. If it is important to have the
		file's contents erased from the node this may be done manually by calling
		:meth`~ipfshttpclient.Client.repo.gc` at a time of convenience.
		
		.. code-block:: python
		
			>>> client.files.rm("/bla/file")
		
		Parameters
		----------
		path
			Filepath within the MFS
		recursive
			Recursively remove directories?
Removes a file from the MFS Note that the file s contents will not actually be removed from the IPFS node until the next repository GC run . If it is important to have the file s contents erased from the node this may be done manually by calling : meth ~ipfshttpclient . Client . repo . gc at a time of convenience . .. code - block :: python >>> client . files . rm ( / bla / file ) Parameters ---------- path Filepath within the MFS recursive Recursively remove directories?
def rm(self, path: str, recursive: bool = False, **kwargs: base.CommonArgs):
		"""Removes a file from the MFS
		
		Note that the file's contents will not actually be removed from the IPFS
		node until the next repository GC run. If it is important to have the
		file's contents erased from the node this may be done manually by calling
		:meth`~ipfshttpclient.Client.repo.gc` at a time of convenience.
		
		.. code-block:: python
		
			>>> client.files.rm("/bla/file")
		
		Parameters
		----------
		path
			Filepath within the MFS
		recursive
			Recursively remove directories?
		"""
		kwargs.setdefault("opts", {})["recursive"] = recursive
		
		args = (path,)
		return self._client.request('/files/rm', args, **kwargs)
def rm ( self , path : str , recursive : bool = False , * * kwargs : base . CommonArgs ) : kwargs . setdefault ( "opts" , { } ) [ "recursive" ] = recursive args = ( path , ) return self . _client . request ( '/files/rm' , args , * * kwargs )