Home Reference Source
import VFSServiceProvider from '@osjs/client/src/providers/vfs.js'
public class | source

VFSServiceProvider

Extends:

@osjs/common~ServiceProvider → VFSServiceProvider

OS.js Virtual Filesystem Service Provider

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Method Summary

Public Methods
public
public
public

Initializes VFS providers

public

Get a list of services this provider registers

Public Constructors

public constructor(core: Core, options: VFSServiceOptions) source

Params:

NameTypeAttributeDescription
core Core

OS.js Core

options VFSServiceOptions
  • optional
  • default: {}

Public Members

public fs: Filesystem source

Public Methods

public createFilesystemContract(): VFSServiceFilesystemContract source

public createVFSContract(): VFSServiceContract source

public init(): Promise<undefined> source

Initializes VFS providers

Return:

Promise<undefined>

public provides(): string[] source

Get a list of services this provider registers

Return:

string[]