def METHOD_NAME(
    self,
    persist_dir: str = DEFAULT_PERSIST_DIR,
    docstore_fname: str = DOCSTORE_FNAME,
    index_store_fname: str = INDEX_STORE_FNAME,
    vector_store_fname: str = VECTOR_STORE_FNAME,
    graph_store_fname: str = GRAPH_STORE_FNAME,
    fs: Optional[fsspec.AbstractFileSystem] = None,
) -> None:
    """Persist the storage context.
    Args:
        persist_dir (str): directory to persist the storage context
    """
    if fs is not None:
        docstore_path = concat_dirs(persist_dir, docstore_fname)
        index_store_path = concat_dirs(persist_dir, index_store_fname)
        vector_store_path = concat_dirs(persist_dir, vector_store_fname)
        graph_store_path = concat_dirs(persist_dir, graph_store_fname)
    else:
        docstore_path = str(Path(persist_dir) / docstore_fname)
        index_store_path = str(Path(persist_dir) / index_store_fname)
        vector_store_path = str(Path(persist_dir) / vector_store_fname)
        graph_store_path = str(Path(persist_dir) / graph_store_fname)
    self.docstore.METHOD_NAME(persist_path=docstore_path, fs=fs)
    self.index_store.METHOD_NAME(persist_path=index_store_path, fs=fs)
    self.vector_store.METHOD_NAME(persist_path=vector_store_path, fs=fs)
    self.graph_store.METHOD_NAME(persist_path=graph_store_path, fs=fs)