Variable NDNZenFSConst

NDNZenFS: {
    name: "NDN";
    options: {
        client: {
            description: "Client instance";
            required: true;
            type: "object";
            validator(opt: Client): void;
        };
        statsCacheCapacity: {
            description: "cache capacity for FileMetadata, 0 disables cache";
            required: false;
            type: "number";
            validator(opt: undefined | number): void;
        };
    };
    create(opts: NDNFileSystem.Options): NDNFileSystem;
    isAvailable(): true;
} = ...

ZenFS backend for NDNFileSystem.

Type declaration

  • Readonlyname: "NDN"
  • Readonlyoptions: {
        client: {
            description: "Client instance";
            required: true;
            type: "object";
            validator(opt: Client): void;
        };
        statsCacheCapacity: {
            description: "cache capacity for FileMetadata, 0 disables cache";
            required: false;
            type: "number";
            validator(opt: undefined | number): void;
        };
    }
  • create:function
  • isAvailable:function