TensorStore
tensorstore::StorageGeneration::IsClean
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
          • C Spec
          • C KvStore
          • C ByteRange
          • C OptionalByteRangeRequest
          • C StorageGeneration
            • Data members
            • Conversion operators
            • Methods
              • F DebugString
              • F IsValid
              • F Unknown
              • F NoValue
              • F Invalid
              • F EqualOrUnspecified
              • F NotEqualOrUnspecified
              • F IsUnknown
              • F IsNoValue
              • F IsClean
            • Friend functions
          • C TimestampedStorageGeneration
          • C KeyRange
        • 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().