circe/core.py
def delete(self, cid: int) -> bool:
        """ Deletes the folder with the specified CID and all of the URLs it contains from the Bookmarks file.

        Args:
            cid (int): The integer prefix of the CID of interest.

        Returns:
            bool: True if the specified prefix / corresponding CID is present in Bookmarks and False otherwise.
        """
        for i, folder in enumerate(self.bookmarks["roots"]["other"]["children"]):
            if "cid" in folder:
                identifier = folder["cid"].split("/", maxsplit=1)[0]
                if int(identifier) == cid:
                    del self.bookmarks["roots"]["other"]["children"][i]
                    return True
        return False
 Deletes the folder with the specified CID and all of the URLs it contains from the Bookmarks file.

        Args:
            cid (int): The integer prefix of the CID of interest.

        Returns:
            bool: True if the specified prefix / corresponding CID is present in Bookmarks and False otherwise.
        
Deletes the folder with the specified CID and all of the URLs it contains from the Bookmarks file.
Deletes the folder with the specified CID and all of the URLs it contains from the Bookmarks file .
def delete(self, cid: int) -> bool:
        for i, folder in enumerate(self.bookmarks["roots"]["other"]["children"]):
            if "cid" in folder:
                identifier = folder["cid"].split("/", maxsplit=1)[0]
                if int(identifier) == cid:
                    del self.bookmarks["roots"]["other"]["children"][i]
                    return True
        return False
def delete ( self , cid : int ) -> bool : for i , folder in enumerate ( self . bookmarks [ "roots" ] [ "other" ] [ "children" ] ) : if "cid" in folder : identifier = folder [ "cid" ] . split ( "/" , maxsplit = 1 ) [ 0 ] if int ( identifier ) == cid : del self . bookmarks [ "roots" ] [ "other" ] [ "children" ] [ i ] return True return False
Deletes the folder with the specified CID and all of the URLs it contains from the Bookmarks file.
Deletes the folder with the specified CID and all of the URLs it contains from the Bookmarks file .
""" Deletes the folder with the specified CID and all of the URLs it contains from the Bookmarks file.

        Args:
            cid (int): The integer prefix of the CID of interest.

        Returns:
            bool: True if the specified prefix / corresponding CID is present in Bookmarks and False otherwise.
        """
True if the specified prefix / corresponding CID is present in Bookmarks and False otherwise.
True if the specified prefix / corresponding CID is present in Bookmarks and False otherwise .
bool
self
cid
int
The integer prefix of the CID of interest.
The integer prefix of the CID of interest .