parameters: (self, path)
docstring: Creates a symbolic link from 'rec' to any other destination
          Note:
              This is for managing the NGINX recording destination. i.e. inputs
          Args:
              path(string): A destination path.
docstring_summary: Creates a symbolic link from 'rec' to any other destination
          Note:
              This is for managing the NGINX recording destination. i.e. inputs
          Args:
              path(string): A destination path.
docstring_tokens: Creates a symbolic link from rec to any other destination Note : This is for managing the NGINX recording destination . i . e . inputs Args : path ( string ) : A destination path .
function: def _create_record_link(self, path):
          """Creates a symbolic link from 'rec' to any other destination
          Note:
              This is for managing the NGINX recording destination. i.e. inputs
          Args:
              path(string): A destination path.
          """
          if os.path.exists(REC_PATH_LINK):
              try:
                   os.remove(osp.join(REC_PATH_LINK))
              except OSError:
                   shutil.rmtree(osp.join(REC_PATH_LINK))
          os.symlink(path, REC_PATH_LINK)
function_tokens: def _create_record_link ( self , path ) : if os . path . exists ( REC_PATH_LINK ) : try : os . remove ( osp . join ( REC_PATH_LINK ) ) except OSError : shutil . rmtree ( osp . join ( REC_PATH_LINK ) ) os . symlink ( path , REC_PATH_LINK )