fdutils/files.py
def _get_filename_index_info(file_path, is_folder):
    """ stamp a filename with an added indexed incremented to what it had before

    """
    if not is_folder:
        name, ext = os.path.splitext(file_path)
    else:
        name = file_path
        ext = ''
    return get_string_index_info(name) + (ext,)
 stamp a filename with an added indexed incremented to what it had before

    
stamp a filename with an added indexed incremented to what it had before
stamp a filename with an added indexed incremented to what it had before
def _get_filename_index_info(file_path, is_folder):
    if not is_folder:
        name, ext = os.path.splitext(file_path)
    else:
        name = file_path
        ext = ''
    return get_string_index_info(name) + (ext,)
def _get_filename_index_info ( file_path , is_folder ) : if not is_folder : name , ext = os . path . splitext ( file_path ) else : name = file_path ext = '' return get_string_index_info ( name ) + ( ext , )
stamp a filename with an added indexed incremented to what it had before
stamp a filename with an added indexed incremented to what it had before
""" stamp a filename with an added indexed incremented to what it had before

    """
file_path
is_folder