is_encrypted


Description:

public bool is_encrypted ()

Whether storage_kind encrypts the history on disk.

This classifies the kind itself, independently of the features built in: a build unable to construct an encrypted backend must degrade it to "no storage", never to plaintext.

Parameters:

storage_kind

a Storage kind

Returns:

true for the encrypted storage kinds