TensorStore
tensorstore::StorageGeneration::IsClean
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
          • CSpec
          • CKvStore
          • CByteRange
          • COptionalByteRangeRequest
          • CStorageGeneration
            • Data members
            • Conversion operators
            • Methods
              • FDebugString
              • FIsValid
              • FUnknown
              • FNoValue
              • FInvalid
              • FEqualOrUnspecified
              • FNotEqualOrUnspecified
              • FIsUnknown
              • FIsNoValue
              • FIsClean
            • Friend functions
          • CTimestampedStorageGeneration
          • CKeyRange
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/kvstore/generation.h"
    static bool tensorstore::StorageGeneration::IsClean(
        
    const StorageGeneration& generation);

    Returns true if generation represents a “clean” state without any uncommitted modifications within a transaction.

    Note that this returns true for StorageGeneration::NoValue() and StorageGeneration::Invalid().

    Back to top
    Previous tensorstore::StorageGeneration::IsNoValue
    Next tensorstore::StorageGeneration::operator==