Options
All
  • Public
  • Public/Protected
  • All
Menu

Module background/api/filesystem

Index

Functions

  • createNewFolder(folderName: string, parentFolderID: string): Promise<AxiosResponse<FsEntity, any>>
  • This function creates a new folder with the given name in the given parent folder.

    Parameters

    • folderName: string

      The name of the folder to be created

    • parentFolderID: string

      The ID of the folder you want to create the new folder in.

    Returns Promise<AxiosResponse<FsEntity, any>>

    A promise that resolves to an AxiosResponse

  • deleteFsEntities(files: FsEntity[]): void
  • It takes a path, and returns a promise that resolves to an array of FsEntity objects

    Parameters

    • path: string

      The path to the folder you want to get the contents of.

    Returns Promise<AxiosResponse<FsEntity[], any>>

    A promise that resolves to an AxiosResponse<FsEntity[]>

  • searchFsEntities(searchString: string): Promise<AxiosResponse<FsEntity[], any>>
  • It returns a promise that resolves to an AxiosResponse<FsEntity[]> of files matching the request

    Parameters

    • searchString: string

      The string to search for.

    Returns Promise<AxiosResponse<FsEntity[], any>>

    A promise that resolves to an AxiosResponse<FsEntity[]>

Generated using TypeDoc version 0.22.15, the 4/20/2022