@qualithm/device - v0.12.2
    Preparing search index...

    Type Alias KeyfileStore

    Writes and removes the keyfile. The default uses the filesystem; injectable in tests.

    type KeyfileStore = {
        remove: (path: string) => Promise<void>;
        write: (path: string, contents: string) => Promise<void>;
    }
    Index

    Properties

    Properties

    remove: (path: string) => Promise<void>

    Remove path; a missing file is not an error.

    write: (path: string, contents: string) => Promise<void>

    Write contents to path, readable by its owner only.