parameters: (self, repo_path)
docstring: Check out a sinlge file
docstring_summary: Check out a sinlge file
docstring_tokens: Check out a sinlge file
function: def checkout_file(self, repo_path):
          '''Check out a sinlge file'''
          self.add_default_callbacks()
  
          repo_dir = os.path.dirname(repo_path)
          sync_path = "%s/%s" % (self.sync_dir, os.path.basename(repo_path))
  
          self.checkout(repo_dir, self.sync_dir, depth='empty')
          self.export(repo_path, sync_path)
function_tokens: def checkout_file ( self , repo_path ) : self . add_default_callbacks ( ) repo_dir = os . path . dirname ( repo_path ) sync_path = "%s/%s" % ( self . sync_dir , os . path . basename ( repo_path ) ) self . checkout ( repo_dir , self . sync_dir , depth = 'empty' ) self . export ( repo_path , sync_path )