def METHOD_NAME(path: str, dir_op: bool = True) -> Tuple[str, bool]:
    """Format the path of local files.
    Returns whether the destination will keep its own name or take the
    source's name along with the edited path.
    Formatting Rules:
        1. If a destination file is taking on a source name, it must end
           with the appropriate operating system separator
    General Options:
        1. If the operation is on a directory, the destination file will
           always use the name of the corresponding source file.
        2. If the path of the destination exists and is a directory it
           will always use the name of the source file.
        3. If the destination path ends with the appropriate operating
           system separator but is not an existing directory, the
           appropriate directories will be made and the file will use the
           source's name.
        4. If the destination path does not end with the appropriate
           operating system separator and is not an existing directory, the
           appropriate directories will be created and the file name will
           be of the one provided.
    """
    full_path = Path(path).resolve()
    if full_path.is_dir() or dir_op:
        return f"{full_path}{os.sep}", True
    if path.endswith(os.sep):
        return f"{full_path}{os.sep}", True
    return str(full_path), False