Documentation
¶
Index ¶
- func Newuint8(b bool) (uint8, func())
- type LoreAddress
- type LoreAuthClearArgs
- type LoreAuthClearArgsFFI
- type LoreAuthIdentityEventData
- type LoreAuthIdentityEventDataFFI
- type LoreAuthListArgs
- type LoreAuthListArgsFFI
- type LoreAuthLocalUserInfoArgs
- type LoreAuthLocalUserInfoArgsFFI
- type LoreAuthLoginInteractiveArgs
- type LoreAuthLoginInteractiveArgsFFI
- type LoreAuthLoginWithTokenArgs
- type LoreAuthLoginWithTokenArgsFFI
- type LoreAuthLogoutArgs
- type LoreAuthLogoutArgsFFI
- type LoreAuthUrlEventData
- type LoreAuthUrlEventDataFFI
- type LoreAuthUserInfoArgs
- type LoreAuthUserInfoArgsFFI
- type LoreAuthUserInfoEventData
- type LoreAuthUserInfoEventDataFFI
- type LoreAuthUserTokenEventData
- type LoreAuthUserTokenEventDataFFI
- type LoreBinary
- type LoreBinaryFFI
- type LoreBranchArchiveArgs
- type LoreBranchArchiveArgsFFI
- type LoreBranchArchiveEventData
- type LoreBranchArchiveEventDataFFI
- type LoreBranchCreateArgs
- type LoreBranchCreateArgsFFI
- type LoreBranchCreateEventData
- type LoreBranchCreateEventDataFFI
- type LoreBranchDiffArgs
- type LoreBranchDiffArgsFFI
- type LoreBranchDiffBeginEventData
- type LoreBranchDiffBeginEventDataFFI
- type LoreBranchDiffChangeBeginEventData
- type LoreBranchDiffChangeBeginEventDataFFI
- type LoreBranchDiffChangeEndEventData
- type LoreBranchDiffChangeEndEventDataFFI
- type LoreBranchDiffChangeEventData
- type LoreBranchDiffChangeEventDataFFI
- type LoreBranchDiffConflictBeginEventData
- type LoreBranchDiffConflictBeginEventDataFFI
- type LoreBranchDiffConflictEndEventData
- type LoreBranchDiffConflictEndEventDataFFI
- type LoreBranchDiffConflictEventData
- type LoreBranchDiffConflictEventDataFFI
- type LoreBranchDiffEndEventData
- type LoreBranchDiffEndEventDataFFI
- type LoreBranchDiffNodeData
- type LoreBranchDiffNodeDataFFI
- type LoreBranchId
- type LoreBranchInfoArgs
- type LoreBranchInfoArgsFFI
- type LoreBranchInfoEventData
- type LoreBranchInfoEventDataFFI
- type LoreBranchLatestListEntryEventData
- type LoreBranchLatestListEntryEventDataFFI
- type LoreBranchListArgs
- type LoreBranchListArgsFFI
- type LoreBranchListBeginEventData
- type LoreBranchListBeginEventDataFFI
- type LoreBranchListEndEventData
- type LoreBranchListEndEventDataFFI
- type LoreBranchListEntryEventData
- type LoreBranchListEntryEventDataFFI
- type LoreBranchLocation
- type LoreBranchMergeAbortArgs
- type LoreBranchMergeAbortArgsFFI
- type LoreBranchMergeAbortBeginEventData
- type LoreBranchMergeAbortBeginEventDataFFI
- type LoreBranchMergeAbortEndEventData
- type LoreBranchMergeAbortEndEventDataFFI
- type LoreBranchMergeConflictFileEventData
- type LoreBranchMergeConflictFileEventDataFFI
- type LoreBranchMergeIntoArgs
- type LoreBranchMergeIntoArgsFFI
- type LoreBranchMergeIntoFileBeginEventData
- type LoreBranchMergeIntoFileBeginEventDataFFI
- type LoreBranchMergeIntoFileEndEventData
- type LoreBranchMergeIntoFileEndEventDataFFI
- type LoreBranchMergeIntoFileEventData
- type LoreBranchMergeIntoFileEventDataFFI
- type LoreBranchMergeIntoFragmentBeginEventData
- type LoreBranchMergeIntoFragmentBeginEventDataFFI
- type LoreBranchMergeIntoFragmentEndEventData
- type LoreBranchMergeIntoFragmentEndEventDataFFI
- type LoreBranchMergeIntoFragmentProgressEventData
- type LoreBranchMergeIntoFragmentProgressEventDataFFI
- type LoreBranchMergeIntoRevisionEventData
- type LoreBranchMergeIntoRevisionEventDataFFI
- type LoreBranchMergeIntoSyncBeginEventData
- type LoreBranchMergeIntoSyncBeginEventDataFFI
- type LoreBranchMergeIntoSyncEndEventData
- type LoreBranchMergeIntoSyncEndEventDataFFI
- type LoreBranchMergeLinkSkippedEventData
- type LoreBranchMergeLinkSkippedEventDataFFI
- type LoreBranchMergeResolveArgs
- type LoreBranchMergeResolveArgsFFI
- type LoreBranchMergeResolveFileEventData
- type LoreBranchMergeResolveFileEventDataFFI
- type LoreBranchMergeResolveMineArgs
- type LoreBranchMergeResolveMineArgsFFI
- type LoreBranchMergeResolveRevisionEventData
- type LoreBranchMergeResolveRevisionEventDataFFI
- type LoreBranchMergeResolveTheirsArgs
- type LoreBranchMergeResolveTheirsArgsFFI
- type LoreBranchMergeRestartArgs
- type LoreBranchMergeRestartArgsFFI
- type LoreBranchMergeStartArgs
- type LoreBranchMergeStartArgsFFI
- type LoreBranchMergeStartBeginEventData
- type LoreBranchMergeStartBeginEventDataFFI
- type LoreBranchMergeStartEndEventData
- type LoreBranchMergeStartEndEventDataFFI
- type LoreBranchMergeUnresolveArgs
- type LoreBranchMergeUnresolveArgsFFI
- type LoreBranchMergeUnresolveFileEventData
- type LoreBranchMergeUnresolveFileEventDataFFI
- type LoreBranchMergeUnresolveRevisionEventData
- type LoreBranchMergeUnresolveRevisionEventDataFFI
- type LoreBranchMetadataClearArgs
- type LoreBranchMetadataClearArgsFFI
- type LoreBranchMetadataGetArgs
- type LoreBranchMetadataGetArgsFFI
- type LoreBranchMetadataSetArgs
- type LoreBranchMetadataSetArgsFFI
- type LoreBranchMultipleInstanceEventData
- type LoreBranchMultipleInstanceEventDataFFI
- type LoreBranchPoint
- type LoreBranchPointArray
- type LoreBranchPointArrayFFI
- type LoreBranchPointFFI
- type LoreBranchProtectArgs
- type LoreBranchProtectArgsFFI
- type LoreBranchProtectEventData
- type LoreBranchProtectEventDataFFI
- type LoreBranchPushArgs
- type LoreBranchPushArgsFFI
- type LoreBranchPushBranchCreateBeginEventData
- type LoreBranchPushBranchCreateBeginEventDataFFI
- type LoreBranchPushBranchCreateEndEventData
- type LoreBranchPushBranchCreateEndEventDataFFI
- type LoreBranchPushEventData
- type LoreBranchPushEventDataFFI
- type LoreBranchPushFragmentBeginEventData
- type LoreBranchPushFragmentBeginEventDataFFI
- type LoreBranchPushFragmentEndEventData
- type LoreBranchPushFragmentEndEventDataFFI
- type LoreBranchPushFragmentProgressEventData
- type LoreBranchPushFragmentProgressEventDataFFI
- type LoreBranchPushRevisionPushBeginEventData
- type LoreBranchPushRevisionPushBeginEventDataFFI
- type LoreBranchPushRevisionPushEndEventData
- type LoreBranchPushRevisionPushEndEventDataFFI
- type LoreBranchPushRevisionPushUpdateEventData
- type LoreBranchPushRevisionPushUpdateEventDataFFI
- type LoreBranchPushRevisionUpdateBeginEventData
- type LoreBranchPushRevisionUpdateBeginEventDataFFI
- type LoreBranchPushRevisionUpdateEndEventData
- type LoreBranchPushRevisionUpdateEndEventDataFFI
- type LoreBranchResetArgs
- type LoreBranchResetArgsFFI
- type LoreBranchResetEventData
- type LoreBranchResetEventDataFFI
- type LoreBranchSwitchArgs
- type LoreBranchSwitchArgsFFI
- type LoreBranchSwitchBeginEventData
- type LoreBranchSwitchBeginEventDataFFI
- type LoreBranchSwitchData
- type LoreBranchSwitchDataFFI
- type LoreBranchSwitchEndEventData
- type LoreBranchSwitchEndEventDataFFI
- type LoreBranchUnprotectArgs
- type LoreBranchUnprotectArgsFFI
- type LoreBranchUnprotectEventData
- type LoreBranchUnprotectEventDataFFI
- type LoreBytes
- type LoreBytesFFI
- type LoreCherryPickAbortBeginEventData
- type LoreCherryPickAbortBeginEventDataFFI
- type LoreCherryPickAbortEndEventData
- type LoreCherryPickAbortEndEventDataFFI
- type LoreCherryPickConflictFileEventData
- type LoreCherryPickConflictFileEventDataFFI
- type LoreCherryPickResolveFileEventData
- type LoreCherryPickResolveFileEventDataFFI
- type LoreCherryPickResolveRevisionEventData
- type LoreCherryPickResolveRevisionEventDataFFI
- type LoreCherryPickStartBeginEventData
- type LoreCherryPickStartBeginEventDataFFI
- type LoreCherryPickStartEndEventData
- type LoreCherryPickStartEndEventDataFFI
- type LoreCherryPickUnresolveFileEventData
- type LoreCherryPickUnresolveFileEventDataFFI
- type LoreCherryPickUnresolveRevisionEventData
- type LoreCherryPickUnresolveRevisionEventDataFFI
- type LoreCompactionBeginEventData
- type LoreCompactionBeginEventDataFFI
- type LoreCompactionEndEventData
- type LoreCompactionEndEventDataFFI
- type LoreCompactionProgressEventData
- type LoreCompactionProgressEventDataFFI
- type LoreCompleteEventData
- type LoreCompleteEventDataFFI
- type LoreContext
- type LoreDependencyResolveBeginEventData
- type LoreDependencyResolveBeginEventDataFFI
- type LoreDependencyResolveEndEventData
- type LoreDependencyResolveEndEventDataFFI
- type LoreDependencyResolveItemEventData
- type LoreDependencyResolveItemEventDataFFI
- type LoreEndEventData
- type LoreEndEventDataFFI
- type LoreErrorCode
- type LoreErrorDetail
- type LoreErrorDetailFFI
- type LoreErrorEventData
- type LoreErrorEventDataFFI
- type LoreEvent
- type LoreEventCallback
- type LoreEventCallbackConfig
- type LoreEventCallbackConfigFFI
- type LoreEventFFI
- type LoreEventTag
- type LoreEvictionBeginEventData
- type LoreEvictionBeginEventDataFFI
- type LoreEvictionEndEventData
- type LoreEvictionEndEventDataFFI
- type LoreEvictionProgressEventData
- type LoreEvictionProgressEventDataFFI
- type LoreFileAction
- type LoreFileDependencyAddArgs
- type LoreFileDependencyAddArgsFFI
- type LoreFileDependencyAddBeginEventData
- type LoreFileDependencyAddBeginEventDataFFI
- type LoreFileDependencyAddEndEventData
- type LoreFileDependencyAddEndEventDataFFI
- type LoreFileDependencyAddEntryEventData
- type LoreFileDependencyAddEntryEventDataFFI
- type LoreFileDependencyListArgs
- type LoreFileDependencyListArgsFFI
- type LoreFileDependencyListBeginEventData
- type LoreFileDependencyListBeginEventDataFFI
- type LoreFileDependencyListEndEventData
- type LoreFileDependencyListEndEventDataFFI
- type LoreFileDependencyListEntryEventData
- type LoreFileDependencyListEntryEventDataFFI
- type LoreFileDependencyListFileEndEventData
- type LoreFileDependencyListFileEndEventDataFFI
- type LoreFileDependencyListFileEventData
- type LoreFileDependencyListFileEventDataFFI
- type LoreFileDependencyRemoveArgs
- type LoreFileDependencyRemoveArgsFFI
- type LoreFileDependencyRemoveBeginEventData
- type LoreFileDependencyRemoveBeginEventDataFFI
- type LoreFileDependencyRemoveEndEventData
- type LoreFileDependencyRemoveEndEventDataFFI
- type LoreFileDependencyRemoveEntryEventData
- type LoreFileDependencyRemoveEntryEventDataFFI
- type LoreFileDiffArgs
- type LoreFileDiffArgsFFI
- type LoreFileDiffEventData
- type LoreFileDiffEventDataFFI
- type LoreFileDirtyArgs
- type LoreFileDirtyArgsFFI
- type LoreFileDirtyCopyArgs
- type LoreFileDirtyCopyArgsFFI
- type LoreFileDirtyMoveArgs
- type LoreFileDirtyMoveArgsFFI
- type LoreFileDumpArgs
- type LoreFileDumpArgsFFI
- type LoreFileDumpEventData
- type LoreFileDumpEventDataFFI
- type LoreFileHashArgs
- type LoreFileHashArgsFFI
- type LoreFileHashEventData
- type LoreFileHashEventDataFFI
- type LoreFileHistoryArgs
- type LoreFileHistoryArgsFFI
- type LoreFileHistoryEventData
- type LoreFileHistoryEventDataFFI
- type LoreFileInfoArgs
- type LoreFileInfoArgsFFI
- type LoreFileInfoEventData
- type LoreFileInfoEventDataFFI
- type LoreFileMetadataClearArgs
- type LoreFileMetadataClearArgsFFI
- type LoreFileMetadataGetArgs
- type LoreFileMetadataGetArgsFFI
- type LoreFileMetadataListArgs
- type LoreFileMetadataListArgsFFI
- type LoreFileMetadataSetArgs
- type LoreFileMetadataSetArgsFFI
- type LoreFileObliterateArgs
- type LoreFileObliterateArgsFFI
- type LoreFileObliterateEventData
- type LoreFileObliterateEventDataFFI
- type LoreFileResetArgs
- type LoreFileResetArgsFFI
- type LoreFileResetBeginEventData
- type LoreFileResetBeginEventDataFFI
- type LoreFileResetCountData
- type LoreFileResetCountDataFFI
- type LoreFileResetEndEventData
- type LoreFileResetEndEventDataFFI
- type LoreFileResetFileEventData
- type LoreFileResetFileEventDataFFI
- type LoreFileResetProgressEventData
- type LoreFileResetProgressEventDataFFI
- type LoreFileResetToLastMergedArgs
- type LoreFileResetToLastMergedArgsFFI
- type LoreFileStageArgs
- type LoreFileStageArgsFFI
- type LoreFileStageBeginEventData
- type LoreFileStageBeginEventDataFFI
- type LoreFileStageCountData
- type LoreFileStageCountDataFFI
- type LoreFileStageEndEventData
- type LoreFileStageEndEventDataFFI
- type LoreFileStageFileEventData
- type LoreFileStageFileEventDataFFI
- type LoreFileStageMergeArgs
- type LoreFileStageMergeArgsFFI
- type LoreFileStageMoveArgs
- type LoreFileStageMoveArgsFFI
- type LoreFileStageProgressEventData
- type LoreFileStageProgressEventDataFFI
- type LoreFileStageRevisionEventData
- type LoreFileStageRevisionEventDataFFI
- type LoreFileUnstageArgs
- type LoreFileUnstageArgsFFI
- type LoreFileUnstageBeginEventData
- type LoreFileUnstageBeginEventDataFFI
- type LoreFileUnstageCountData
- type LoreFileUnstageCountDataFFI
- type LoreFileUnstageEndEventData
- type LoreFileUnstageEndEventDataFFI
- type LoreFileUnstageFileEventData
- type LoreFileUnstageFileEventDataFFI
- type LoreFileUnstageProgressEventData
- type LoreFileUnstageProgressEventDataFFI
- type LoreFileUnstageRevisionEventData
- type LoreFileUnstageRevisionEventDataFFI
- type LoreFileWriteArgs
- type LoreFileWriteArgsFFI
- type LoreFileWriteEventData
- type LoreFileWriteEventDataFFI
- type LoreFilterExcludeEventData
- type LoreFilterExcludeEventDataFFI
- type LoreFragment
- type LoreFragmentFFI
- type LoreFragmentWriteEventData
- type LoreFragmentWriteEventDataFFI
- type LoreGlobalArgs
- type LoreGlobalArgsFFI
- type LoreHash
- type LoreInstanceId
- type LoreInstanceIdArray
- type LoreInstanceIdArrayFFI
- type LoreKeyType
- type LoreLayerAddArgs
- type LoreLayerAddArgsFFI
- type LoreLayerAddEventData
- type LoreLayerAddEventDataFFI
- type LoreLayerEntryEventData
- type LoreLayerEntryEventDataFFI
- type LoreLayerListArgs
- type LoreLayerListArgsFFI
- type LoreLayerRemoveArgs
- type LoreLayerRemoveArgsFFI
- type LoreLayerRemoveEventData
- type LoreLayerRemoveEventDataFFI
- type LoreLayerStagedEntryEventData
- type LoreLayerStagedEntryEventDataFFI
- type LoreLinkAddArgs
- type LoreLinkAddArgsFFI
- type LoreLinkBranchCreateEventData
- type LoreLinkBranchCreateEventDataFFI
- type LoreLinkChangeEventData
- type LoreLinkChangeEventDataFFI
- type LoreLinkEntryEventData
- type LoreLinkEntryEventDataFFI
- type LoreLinkInfoArgs
- type LoreLinkInfoArgsFFI
- type LoreLinkInfoEventData
- type LoreLinkInfoEventDataFFI
- type LoreLinkListArgs
- type LoreLinkListArgsFFI
- type LoreLinkRemoveArgs
- type LoreLinkRemoveArgsFFI
- type LoreLinkStagedEntryEventData
- type LoreLinkStagedEntryEventDataFFI
- type LoreLinkStagedState
- type LoreLinkUpdateArgs
- type LoreLinkUpdateArgsFFI
- type LoreLockFileAcquireArgs
- type LoreLockFileAcquireArgsFFI
- type LoreLockFileAcquireBeginEventData
- type LoreLockFileAcquireBeginEventDataFFI
- type LoreLockFileAcquireEventData
- type LoreLockFileAcquireEventDataFFI
- type LoreLockFileQueryArgs
- type LoreLockFileQueryArgsFFI
- type LoreLockFileQueryBeginEventData
- type LoreLockFileQueryBeginEventDataFFI
- type LoreLockFileQueryEventData
- type LoreLockFileQueryEventDataFFI
- type LoreLockFileReleaseArgs
- type LoreLockFileReleaseArgsFFI
- type LoreLockFileReleaseBeginEventData
- type LoreLockFileReleaseBeginEventDataFFI
- type LoreLockFileReleaseEventData
- type LoreLockFileReleaseEventDataFFI
- type LoreLockFileStatusArgs
- type LoreLockFileStatusArgsFFI
- type LoreLockFileStatusBeginEventData
- type LoreLockFileStatusBeginEventDataFFI
- type LoreLockFileStatusEventData
- type LoreLockFileStatusEventDataFFI
- type LoreLogConfig
- type LoreLogConfigFFI
- type LoreLogEventData
- type LoreLogEventDataFFI
- type LoreLogLevel
- type LoreMaintenanceEventData
- type LoreMaintenanceEventDataFFI
- type LoreMetadata
- type LoreMetadataClearFileEventData
- type LoreMetadataClearFileEventDataFFI
- type LoreMetadataClearRevisionEventData
- type LoreMetadataClearRevisionEventDataFFI
- type LoreMetadataEventData
- type LoreMetadataEventDataFFI
- type LoreMetadataFFI
- func (m *LoreMetadataFFI) AsBoolean() bool
- func (m *LoreMetadataFFI) AsLoreAddress() *LoreAddress
- func (m *LoreMetadataFFI) AsLoreBinary() *LoreBinaryFFI
- func (m *LoreMetadataFFI) AsLoreContext() *LoreContext
- func (m *LoreMetadataFFI) AsLoreHash() *LoreHash
- func (m *LoreMetadataFFI) AsLoreString() *LoreString
- func (m *LoreMetadataFFI) AsNumeric() uint64
- func (m *LoreMetadataFFI) Clone() LoreMetadata
- type LoreMetadataType
- type LoreMetadataTypeArray
- type LoreMetadataTypeArrayFFI
- type LoreNodeStagedAction
- type LoreNodeType
- type LoreNotificationBranchCreatedEventData
- type LoreNotificationBranchCreatedEventDataFFI
- type LoreNotificationBranchDeletedEventData
- type LoreNotificationBranchDeletedEventDataFFI
- type LoreNotificationBranchPushedEventData
- type LoreNotificationBranchPushedEventDataFFI
- type LoreNotificationResourceLockedEventData
- type LoreNotificationResourceLockedEventDataFFI
- type LoreNotificationResourceUnlockedEventData
- type LoreNotificationResourceUnlockedEventDataFFI
- type LoreNotificationSubscribeArgs
- type LoreNotificationSubscribeArgsFFI
- type LoreNotificationSubscribedEventData
- type LoreNotificationSubscribedEventDataFFI
- type LoreNotificationUnsubscribeArgs
- type LoreNotificationUnsubscribeArgsFFI
- type LoreNotificationUnsubscribedEventData
- type LoreNotificationUnsubscribedEventDataFFI
- type LorePartition
- type LorePathIgnoreEventData
- type LorePathIgnoreEventDataFFI
- type LoreProgressEventData
- type LoreProgressEventDataFFI
- type LoreRepositoryCloneArgs
- type LoreRepositoryCloneArgsFFI
- type LoreRepositoryCloneBeginEventData
- type LoreRepositoryCloneBeginEventDataFFI
- type LoreRepositoryCloneCountData
- type LoreRepositoryCloneCountDataFFI
- type LoreRepositoryCloneEndEventData
- type LoreRepositoryCloneEndEventDataFFI
- type LoreRepositoryCloneProgressEventData
- type LoreRepositoryCloneProgressEventDataFFI
- type LoreRepositoryConfigGetArgs
- type LoreRepositoryConfigGetArgsFFI
- type LoreRepositoryConfigGetEventData
- type LoreRepositoryConfigGetEventDataFFI
- type LoreRepositoryCreateArgs
- type LoreRepositoryCreateArgsFFI
- type LoreRepositoryCreateEventData
- type LoreRepositoryCreateEventDataFFI
- type LoreRepositoryDataEventData
- type LoreRepositoryDataEventDataFFI
- type LoreRepositoryDumpArgs
- type LoreRepositoryDumpArgsFFI
- type LoreRepositoryDumpBeginEventData
- type LoreRepositoryDumpBeginEventDataFFI
- type LoreRepositoryDumpEndEventData
- type LoreRepositoryDumpEndEventDataFFI
- type LoreRepositoryFlushArgs
- type LoreRepositoryFlushArgsFFI
- type LoreRepositoryGcArgs
- type LoreRepositoryGcArgsFFI
- type LoreRepositoryId
- type LoreRepositoryInfoArgs
- type LoreRepositoryInfoArgsFFI
- type LoreRepositoryInstanceEventData
- type LoreRepositoryInstanceEventDataFFI
- type LoreRepositoryInstanceListArgs
- type LoreRepositoryInstanceListArgsFFI
- type LoreRepositoryInstancePruneArgs
- type LoreRepositoryInstancePruneArgsFFI
- type LoreRepositoryListArgs
- type LoreRepositoryListArgsFFI
- type LoreRepositoryListEntryEventData
- type LoreRepositoryListEntryEventDataFFI
- type LoreRepositoryMetadataClearArgs
- type LoreRepositoryMetadataClearArgsFFI
- type LoreRepositoryMetadataGetArgs
- type LoreRepositoryMetadataGetArgsFFI
- type LoreRepositoryMetadataSetArgs
- type LoreRepositoryMetadataSetArgsFFI
- type LoreRepositoryReleaseArgs
- type LoreRepositoryReleaseArgsFFI
- type LoreRepositoryStateDumpEventData
- type LoreRepositoryStateDumpEventDataFFI
- type LoreRepositoryStateDumpNodeEventData
- type LoreRepositoryStateDumpNodeEventDataFFI
- type LoreRepositoryStatusArgs
- type LoreRepositoryStatusArgsFFI
- type LoreRepositoryStatusCountEventData
- type LoreRepositoryStatusCountEventDataFFI
- type LoreRepositoryStatusFileEventData
- type LoreRepositoryStatusFileEventDataFFI
- type LoreRepositoryStatusRevisionEventData
- type LoreRepositoryStatusRevisionEventDataFFI
- type LoreRepositoryStatusSummaryEventData
- type LoreRepositoryStatusSummaryEventDataFFI
- type LoreRepositoryStoreImmutableQueryArgs
- type LoreRepositoryStoreImmutableQueryArgsFFI
- type LoreRepositoryStoreImmutableQueryEventData
- type LoreRepositoryStoreImmutableQueryEventDataFFI
- type LoreRepositoryUpdatePathArgs
- type LoreRepositoryUpdatePathArgsFFI
- type LoreRepositoryVerifyFragmentEventData
- type LoreRepositoryVerifyFragmentEventDataFFI
- type LoreRepositoryVerifyFragmentMatchEventData
- type LoreRepositoryVerifyFragmentMatchEventDataArray
- type LoreRepositoryVerifyFragmentMatchEventDataArrayFFI
- func (arr LoreRepositoryVerifyFragmentMatchEventDataArrayFFI) Clone() []LoreRepositoryVerifyFragmentMatchEventData
- func (arr LoreRepositoryVerifyFragmentMatchEventDataArrayFFI) Get(index int) LoreRepositoryVerifyFragmentMatchEventData
- func (arr LoreRepositoryVerifyFragmentMatchEventDataArrayFFI) Len() int
- type LoreRepositoryVerifyFragmentMatchEventDataFFI
- type LoreRepositoryVerifyFragmentRemoteEventData
- type LoreRepositoryVerifyFragmentRemoteEventDataFFI
- type LoreRepositoryVerifyStateArgs
- type LoreRepositoryVerifyStateArgsFFI
- type LoreRepositoryVerifyStateBeginEventData
- type LoreRepositoryVerifyStateBeginEventDataFFI
- type LoreRepositoryVerifyStateEndEventData
- type LoreRepositoryVerifyStateEndEventDataFFI
- type LoreRevertAbortBeginEventData
- type LoreRevertAbortBeginEventDataFFI
- type LoreRevertAbortEndEventData
- type LoreRevertAbortEndEventDataFFI
- type LoreRevertConflictFileEventData
- type LoreRevertConflictFileEventDataFFI
- type LoreRevertResolveFileEventData
- type LoreRevertResolveFileEventDataFFI
- type LoreRevertResolveRevisionEventData
- type LoreRevertResolveRevisionEventDataFFI
- type LoreRevertStartBeginEventData
- type LoreRevertStartBeginEventDataFFI
- type LoreRevertStartEndEventData
- type LoreRevertStartEndEventDataFFI
- type LoreRevertUnresolveFileEventData
- type LoreRevertUnresolveFileEventDataFFI
- type LoreRevertUnresolveRevisionEventData
- type LoreRevertUnresolveRevisionEventDataFFI
- type LoreRevisionAmendArgs
- type LoreRevisionAmendArgsFFI
- type LoreRevisionBisectEventData
- type LoreRevisionBisectEventDataFFI
- type LoreRevisionCommitArgs
- type LoreRevisionCommitArgsFFI
- type LoreRevisionCommitBeginEventData
- type LoreRevisionCommitBeginEventDataFFI
- type LoreRevisionCommitCountData
- type LoreRevisionCommitCountDataFFI
- type LoreRevisionCommitEndEventData
- type LoreRevisionCommitEndEventDataFFI
- type LoreRevisionCommitProgressEventData
- type LoreRevisionCommitProgressEventDataFFI
- type LoreRevisionCommitRevisionEventData
- type LoreRevisionCommitRevisionEventDataFFI
- type LoreRevisionDiffArgs
- type LoreRevisionDiffArgsFFI
- type LoreRevisionDiffFileEventData
- type LoreRevisionDiffFileEventDataFFI
- type LoreRevisionFindArgs
- type LoreRevisionFindArgsFFI
- type LoreRevisionFindEventData
- type LoreRevisionFindEventDataFFI
- type LoreRevisionHistoryArgs
- type LoreRevisionHistoryArgsFFI
- type LoreRevisionHistoryEntryEventData
- type LoreRevisionHistoryEntryEventDataFFI
- type LoreRevisionHistoryEventData
- type LoreRevisionHistoryEventDataFFI
- type LoreRevisionInfoArgs
- type LoreRevisionInfoArgsFFI
- type LoreRevisionInfoDeltaEventData
- type LoreRevisionInfoDeltaEventDataFFI
- type LoreRevisionInfoEventData
- type LoreRevisionInfoEventDataFFI
- type LoreRevisionMetadataClearArgs
- type LoreRevisionMetadataClearArgsFFI
- type LoreRevisionMetadataGetArgs
- type LoreRevisionMetadataGetArgsFFI
- type LoreRevisionMetadataListArgs
- type LoreRevisionMetadataListArgsFFI
- type LoreRevisionMetadataSetArgs
- type LoreRevisionMetadataSetArgsFFI
- type LoreRevisionResolveEventData
- type LoreRevisionResolveEventDataFFI
- type LoreRevisionRestoreArgs
- type LoreRevisionRestoreArgsFFI
- type LoreRevisionRestoreFileBeginEventData
- type LoreRevisionRestoreFileBeginEventDataFFI
- type LoreRevisionRestoreFileEndEventData
- type LoreRevisionRestoreFileEndEventDataFFI
- type LoreRevisionRestoreFileEventData
- type LoreRevisionRestoreFileEventDataFFI
- type LoreRevisionRestoreFragmentBeginEventData
- type LoreRevisionRestoreFragmentBeginEventDataFFI
- type LoreRevisionRestoreFragmentEndEventData
- type LoreRevisionRestoreFragmentEndEventDataFFI
- type LoreRevisionRestoreFragmentProgressEventData
- type LoreRevisionRestoreFragmentProgressEventDataFFI
- type LoreRevisionRestoreRevisionEventData
- type LoreRevisionRestoreRevisionEventDataFFI
- type LoreRevisionRestoreSyncBeginEventData
- type LoreRevisionRestoreSyncBeginEventDataFFI
- type LoreRevisionRestoreSyncEndEventData
- type LoreRevisionRestoreSyncEndEventDataFFI
- type LoreRevisionRevertAbortArgs
- type LoreRevisionRevertAbortArgsFFI
- type LoreRevisionRevertArgs
- type LoreRevisionRevertArgsFFI
- type LoreRevisionRevertResolveArgs
- type LoreRevisionRevertResolveArgsFFI
- type LoreRevisionRevertResolveMineArgs
- type LoreRevisionRevertResolveMineArgsFFI
- type LoreRevisionRevertResolveTheirsArgs
- type LoreRevisionRevertResolveTheirsArgsFFI
- type LoreRevisionRevertRestartArgs
- type LoreRevisionRevertRestartArgsFFI
- type LoreRevisionRevertUnresolveArgs
- type LoreRevisionRevertUnresolveArgsFFI
- type LoreRevisionSyncArgs
- type LoreRevisionSyncArgsFFI
- type LoreRevisionSyncFileEventData
- type LoreRevisionSyncFileEventDataFFI
- type LoreRevisionSyncProgressEventData
- type LoreRevisionSyncProgressEventDataFFI
- type LoreRevisionSyncRevisionEventData
- type LoreRevisionSyncRevisionEventDataFFI
- type LoreRevisionSyncTargetEventData
- type LoreRevisionSyncTargetEventDataFFI
- type LoreRevisionTree
- type LoreRevisionTreeAddArgs
- type LoreRevisionTreeAddArgsFFI
- type LoreRevisionTreeAddCompleteEventData
- type LoreRevisionTreeAddCompleteEventDataFFI
- type LoreRevisionTreeAddEntry
- type LoreRevisionTreeAddEntryArray
- type LoreRevisionTreeAddEntryArrayFFI
- type LoreRevisionTreeAddEntryFFI
- type LoreRevisionTreeBatchCompleteEventData
- type LoreRevisionTreeBatchCompleteEventDataFFI
- type LoreRevisionTreeChildEventData
- type LoreRevisionTreeChildEventDataFFI
- type LoreRevisionTreeCloseArgs
- type LoreRevisionTreeCloseArgsFFI
- type LoreRevisionTreeCloseCompleteEventData
- type LoreRevisionTreeCloseCompleteEventDataFFI
- type LoreRevisionTreeCommitArgs
- type LoreRevisionTreeCommitArgsFFI
- type LoreRevisionTreeCommitCompleteEventData
- type LoreRevisionTreeCommitCompleteEventDataFFI
- type LoreRevisionTreeCommitOptions
- type LoreRevisionTreeCommitOptionsFFI
- type LoreRevisionTreeDeleteArgs
- type LoreRevisionTreeDeleteArgsFFI
- type LoreRevisionTreeDeleteCompleteEventData
- type LoreRevisionTreeDeleteCompleteEventDataFFI
- type LoreRevisionTreeDeleteEntry
- type LoreRevisionTreeDeleteEntryArray
- type LoreRevisionTreeDeleteEntryArrayFFI
- type LoreRevisionTreeDeleteEntryFFI
- type LoreRevisionTreeFFI
- type LoreRevisionTreeInfoArgs
- type LoreRevisionTreeInfoArgsFFI
- type LoreRevisionTreeInfoEventData
- type LoreRevisionTreeInfoEventDataFFI
- type LoreRevisionTreeListChildrenArgs
- type LoreRevisionTreeListChildrenArgsFFI
- type LoreRevisionTreeListChildrenBeginEventData
- type LoreRevisionTreeListChildrenBeginEventDataFFI
- type LoreRevisionTreeLoadArgs
- type LoreRevisionTreeLoadArgsFFI
- type LoreRevisionTreeLoadedEventData
- type LoreRevisionTreeLoadedEventDataFFI
- type LoreRevisionTreeMetadataClearArgs
- type LoreRevisionTreeMetadataClearArgsFFI
- type LoreRevisionTreeMetadataClearCompleteEventData
- type LoreRevisionTreeMetadataClearCompleteEventDataFFI
- type LoreRevisionTreeMetadataClearEntry
- type LoreRevisionTreeMetadataClearEntryArray
- type LoreRevisionTreeMetadataClearEntryArrayFFI
- type LoreRevisionTreeMetadataClearEntryFFI
- type LoreRevisionTreeMetadataGetArgs
- type LoreRevisionTreeMetadataGetArgsFFI
- type LoreRevisionTreeMetadataGetCompleteEventData
- type LoreRevisionTreeMetadataGetCompleteEventDataFFI
- type LoreRevisionTreeMetadataGetEntry
- type LoreRevisionTreeMetadataGetEntryArray
- type LoreRevisionTreeMetadataGetEntryArrayFFI
- type LoreRevisionTreeMetadataGetEntryFFI
- type LoreRevisionTreeMetadataSetArgs
- type LoreRevisionTreeMetadataSetArgsFFI
- type LoreRevisionTreeMetadataSetCompleteEventData
- type LoreRevisionTreeMetadataSetCompleteEventDataFFI
- type LoreRevisionTreeMetadataSetEntry
- type LoreRevisionTreeMetadataSetEntryArray
- type LoreRevisionTreeMetadataSetEntryArrayFFI
- type LoreRevisionTreeMetadataSetEntryFFI
- type LoreRevisionTreeModifyArgs
- type LoreRevisionTreeModifyArgsFFI
- type LoreRevisionTreeModifyCompleteEventData
- type LoreRevisionTreeModifyCompleteEventDataFFI
- type LoreRevisionTreeModifyEntry
- type LoreRevisionTreeModifyEntryArray
- type LoreRevisionTreeModifyEntryArrayFFI
- type LoreRevisionTreeModifyEntryFFI
- type LoreRevisionTreeMoveArgs
- type LoreRevisionTreeMoveArgsFFI
- type LoreRevisionTreeMoveCompleteEventData
- type LoreRevisionTreeMoveCompleteEventDataFFI
- type LoreRevisionTreeMoveEntry
- type LoreRevisionTreeMoveEntryArray
- type LoreRevisionTreeMoveEntryArrayFFI
- type LoreRevisionTreeMoveEntryFFI
- type LoreRevisionTreeNodeInfoArgs
- type LoreRevisionTreeNodeInfoArgsFFI
- type LoreRevisionTreeNodeInfoEventData
- type LoreRevisionTreeNodeInfoEventDataFFI
- type LoreRevisionTreeNodePathArgs
- type LoreRevisionTreeNodePathArgsFFI
- type LoreRevisionTreeNodePathEventData
- type LoreRevisionTreeNodePathEventDataFFI
- type LoreRevisionTreeResolvePathArgs
- type LoreRevisionTreeResolvePathArgsFFI
- type LoreRevisionTreeResolvePathCompleteEventData
- type LoreRevisionTreeResolvePathCompleteEventDataFFI
- type LoreServiceStartArgs
- type LoreServiceStartArgsFFI
- type LoreServiceStopArgs
- type LoreServiceStopArgsFFI
- type LoreSharedStoreCreateArgs
- type LoreSharedStoreCreateArgsFFI
- type LoreSharedStoreCreateEventData
- type LoreSharedStoreCreateEventDataFFI
- type LoreSharedStoreInfoArgs
- type LoreSharedStoreInfoArgsFFI
- type LoreSharedStoreInfoEventData
- type LoreSharedStoreInfoEventDataFFI
- type LoreSharedStoreMode
- type LoreSharedStoreSetUseAutomaticallyArgs
- type LoreSharedStoreSetUseAutomaticallyArgsFFI
- type LoreStorageCloseArgs
- type LoreStorageCloseArgsFFI
- type LoreStorageCopyArgs
- type LoreStorageCopyArgsFFI
- type LoreStorageCopyItem
- type LoreStorageCopyItemArray
- type LoreStorageCopyItemArrayFFI
- type LoreStorageCopyItemCompleteEventData
- type LoreStorageCopyItemCompleteEventDataFFI
- type LoreStorageCopyItemFFI
- type LoreStorageFlushArgs
- type LoreStorageFlushArgsFFI
- type LoreStorageGetArgs
- type LoreStorageGetArgsFFI
- type LoreStorageGetDataEventData
- type LoreStorageGetDataEventDataFFI
- type LoreStorageGetFileArgs
- type LoreStorageGetFileArgsFFI
- type LoreStorageGetFileItem
- type LoreStorageGetFileItemArray
- type LoreStorageGetFileItemArrayFFI
- type LoreStorageGetFileItemFFI
- type LoreStorageGetHeaderEventData
- type LoreStorageGetHeaderEventDataFFI
- type LoreStorageGetItem
- type LoreStorageGetItemArray
- type LoreStorageGetItemArrayFFI
- type LoreStorageGetItemCompleteEventData
- type LoreStorageGetItemCompleteEventDataFFI
- type LoreStorageGetItemFFI
- type LoreStorageGetMetadataArgs
- type LoreStorageGetMetadataArgsFFI
- type LoreStorageGetMetadataItem
- type LoreStorageGetMetadataItemArray
- type LoreStorageGetMetadataItemArrayFFI
- type LoreStorageGetMetadataItemCompleteEventData
- type LoreStorageGetMetadataItemCompleteEventDataFFI
- type LoreStorageGetMetadataItemFFI
- type LoreStorageGetResolvedArgs
- type LoreStorageGetResolvedArgsFFI
- type LoreStorageGetResolvedItem
- type LoreStorageGetResolvedItemArray
- type LoreStorageGetResolvedItemArrayFFI
- type LoreStorageGetResolvedItemFFI
- type LoreStorageMutableCompareAndSwapArgs
- type LoreStorageMutableCompareAndSwapArgsFFI
- type LoreStorageMutableCompareAndSwapItem
- type LoreStorageMutableCompareAndSwapItemArray
- type LoreStorageMutableCompareAndSwapItemArrayFFI
- type LoreStorageMutableCompareAndSwapItemCompleteEventData
- type LoreStorageMutableCompareAndSwapItemCompleteEventDataFFI
- type LoreStorageMutableCompareAndSwapItemFFI
- type LoreStorageMutableListArgs
- type LoreStorageMutableListArgsFFI
- type LoreStorageMutableListEntryEventData
- type LoreStorageMutableListEntryEventDataFFI
- type LoreStorageMutableListItem
- type LoreStorageMutableListItemArray
- type LoreStorageMutableListItemArrayFFI
- type LoreStorageMutableListItemCompleteEventData
- type LoreStorageMutableListItemCompleteEventDataFFI
- type LoreStorageMutableListItemFFI
- type LoreStorageMutableLoadArgs
- type LoreStorageMutableLoadArgsFFI
- type LoreStorageMutableLoadItem
- type LoreStorageMutableLoadItemArray
- type LoreStorageMutableLoadItemArrayFFI
- type LoreStorageMutableLoadItemCompleteEventData
- type LoreStorageMutableLoadItemCompleteEventDataFFI
- type LoreStorageMutableLoadItemFFI
- type LoreStorageMutableStoreArgs
- type LoreStorageMutableStoreArgsFFI
- type LoreStorageMutableStoreItem
- type LoreStorageMutableStoreItemArray
- type LoreStorageMutableStoreItemArrayFFI
- type LoreStorageMutableStoreItemCompleteEventData
- type LoreStorageMutableStoreItemCompleteEventDataFFI
- type LoreStorageMutableStoreItemFFI
- type LoreStorageObliterateArgs
- type LoreStorageObliterateArgsFFI
- type LoreStorageObliterateItem
- type LoreStorageObliterateItemArray
- type LoreStorageObliterateItemArrayFFI
- type LoreStorageObliterateItemCompleteEventData
- type LoreStorageObliterateItemCompleteEventDataFFI
- type LoreStorageObliterateItemFFI
- type LoreStorageOpenArgs
- type LoreStorageOpenArgsFFI
- type LoreStorageOpenedEventData
- type LoreStorageOpenedEventDataFFI
- type LoreStoragePutArgs
- type LoreStoragePutArgsFFI
- type LoreStoragePutFileArgs
- type LoreStoragePutFileArgsFFI
- type LoreStoragePutFileItem
- type LoreStoragePutFileItemArray
- type LoreStoragePutFileItemArrayFFI
- type LoreStoragePutFileItemFFI
- type LoreStoragePutItem
- type LoreStoragePutItemArray
- type LoreStoragePutItemArrayFFI
- type LoreStoragePutItemCompleteEventData
- type LoreStoragePutItemCompleteEventDataFFI
- type LoreStoragePutItemFFI
- type LoreStoragePutResolvedArgs
- type LoreStoragePutResolvedArgsFFI
- type LoreStoragePutResolvedItem
- type LoreStoragePutResolvedItemArray
- type LoreStoragePutResolvedItemArrayFFI
- type LoreStoragePutResolvedItemFFI
- type LoreStorageRemoteConfig
- type LoreStorageRemoteConfigFFI
- type LoreStorageUploadArgs
- type LoreStorageUploadArgsFFI
- type LoreStorageUploadItem
- type LoreStorageUploadItemArray
- type LoreStorageUploadItemArrayFFI
- type LoreStorageUploadItemCompleteEventData
- type LoreStorageUploadItemCompleteEventDataFFI
- type LoreStorageUploadItemFFI
- type LoreStore
- type LoreStoreFFI
- type LoreString
- type LoreStringArrayFFI
- type LoreTraceLocation
- type LoreTraceLocationArray
- type LoreTraceLocationArrayFFI
- type LoreTraceLocationFFI
- type LoreUint8Array
- type LoreUint8ArrayFFI
- type LoreUint32Array
- type LoreUint32ArrayFFI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoreAddress ¶
type LoreAddress struct {
Hash LoreHash
Context LoreContext
}
func (LoreAddress) Clone ¶
func (a LoreAddress) Clone() LoreAddress
type LoreAuthClearArgs ¶
type LoreAuthClearArgs struct {
Unused bool
}
type LoreAuthClearArgsFFI ¶
type LoreAuthClearArgsFFI struct {
Unused uint8
}
func NewLoreAuthClearArgs ¶
func NewLoreAuthClearArgs(opts LoreAuthClearArgs) (LoreAuthClearArgsFFI, func())
type LoreAuthIdentityEventData ¶
type LoreAuthIdentityEventData struct {
/* Auth service URL */
AuthUrl string
/* Resource ID (empty for authentication tokens) */
Resource string
/* User identity */
UserId string
/* Comma-separated list of authorized root domains */
AuthorizedDomains string
/* Expiry time in milliseconds since UNIX epoch, or 0 if unavailable */
Expires uint64
/* Cached token (only populated when requested) */
Token string
}
type LoreAuthIdentityEventDataFFI ¶
type LoreAuthIdentityEventDataFFI struct {
/* Auth service URL */
AuthUrl LoreString
/* Resource ID (empty for authentication tokens) */
Resource LoreString
/* User identity */
UserId LoreString
/* Comma-separated list of authorized root domains */
AuthorizedDomains LoreString
/* Expiry time in milliseconds since UNIX epoch, or 0 if unavailable */
Expires uint64
/* Cached token (only populated when requested) */
Token LoreString
}
func (*LoreAuthIdentityEventDataFFI) Clone ¶
func (e *LoreAuthIdentityEventDataFFI) Clone() LoreAuthIdentityEventData
type LoreAuthListArgs ¶
type LoreAuthListArgs struct {
/* Include the decrypted cached token in each identity */
WithToken bool
}
type LoreAuthListArgsFFI ¶
type LoreAuthListArgsFFI struct {
/* Include the decrypted cached token in each identity */
WithToken uint8
}
func NewLoreAuthListArgs ¶
func NewLoreAuthListArgs(opts LoreAuthListArgs) (LoreAuthListArgsFFI, func())
type LoreAuthLocalUserInfoArgs ¶
type LoreAuthLocalUserInfoArgs struct {
/* Auth service remote URL; empty resolves from the repository's remote environment */
AuthEndpoint string
/* User identities to resolve; empty resolves the current user */
UserIds []string
/* Emit cached token details for identities with a local token */
WithToken bool
}
type LoreAuthLocalUserInfoArgsFFI ¶
type LoreAuthLocalUserInfoArgsFFI struct {
/* Auth service remote URL; empty resolves from the repository's remote environment */
AuthEndpoint LoreString
/* User identities to resolve; empty resolves the current user */
UserIds LoreStringArrayFFI
/* Emit cached token details for identities with a local token */
WithToken uint8
}
func NewLoreAuthLocalUserInfoArgs ¶
func NewLoreAuthLocalUserInfoArgs(opts LoreAuthLocalUserInfoArgs) (LoreAuthLocalUserInfoArgsFFI, func())
type LoreAuthLoginInteractiveArgsFFI ¶
type LoreAuthLoginInteractiveArgsFFI struct {
/* Remote URL; empty resolves from the repository config */
RemoteUrl LoreString
/* Emit the login URL instead of opening a browser */
NoBrowser uint8
}
func NewLoreAuthLoginInteractiveArgs ¶
func NewLoreAuthLoginInteractiveArgs(opts LoreAuthLoginInteractiveArgs) (LoreAuthLoginInteractiveArgsFFI, func())
type LoreAuthLoginWithTokenArgs ¶
type LoreAuthLoginWithTokenArgs struct {
/* Remote URL; empty resolves from the repository config */
RemoteUrl string
/* Authentication token */
Token string
/* Token type */
TokenType string
/* Auth service URL with scheme (e.g. `ucs-auth://auth.example.com`); used
directly when non-empty, required when no remote URL is available */
AuthUrl string
}
type LoreAuthLoginWithTokenArgsFFI ¶
type LoreAuthLoginWithTokenArgsFFI struct {
/* Remote URL; empty resolves from the repository config */
RemoteUrl LoreString
/* Authentication token */
Token LoreString
/* Token type */
TokenType LoreString
/* Auth service URL with scheme (e.g. `ucs-auth://auth.example.com`); used
directly when non-empty, required when no remote URL is available */
AuthUrl LoreString
}
func NewLoreAuthLoginWithTokenArgs ¶
func NewLoreAuthLoginWithTokenArgs(opts LoreAuthLoginWithTokenArgs) (LoreAuthLoginWithTokenArgsFFI, func())
type LoreAuthLogoutArgs ¶
type LoreAuthLogoutArgsFFI ¶
type LoreAuthLogoutArgsFFI struct {
/* Auth service URL; empty resolves from the repository */
AuthUrl LoreString
/* Resource ID (e.g. `urc-{id}`); empty removes all tokens for the auth URL */
Resource LoreString
/* User identity to remove; empty removes all identities */
UserId LoreString
}
func NewLoreAuthLogoutArgs ¶
func NewLoreAuthLogoutArgs(opts LoreAuthLogoutArgs) (LoreAuthLogoutArgsFFI, func())
type LoreAuthUrlEventData ¶
type LoreAuthUrlEventData struct {
/* Authentication URL */
Url string
}
type LoreAuthUrlEventDataFFI ¶
type LoreAuthUrlEventDataFFI struct {
/* Authentication URL */
Url LoreString
}
func (*LoreAuthUrlEventDataFFI) Clone ¶
func (e *LoreAuthUrlEventDataFFI) Clone() LoreAuthUrlEventData
type LoreAuthUserInfoArgs ¶
type LoreAuthUserInfoArgs struct {
/* User IDs to resolve; empty resolves the current user locally */
UserIds []string
}
type LoreAuthUserInfoArgsFFI ¶
type LoreAuthUserInfoArgsFFI struct {
/* User IDs to resolve; empty resolves the current user locally */
UserIds LoreStringArrayFFI
}
func NewLoreAuthUserInfoArgs ¶
func NewLoreAuthUserInfoArgs(opts LoreAuthUserInfoArgs) (LoreAuthUserInfoArgsFFI, func())
type LoreAuthUserInfoEventDataFFI ¶
type LoreAuthUserInfoEventDataFFI struct {
/* User identity */
Id LoreString
/* Display name for the user */
Name LoreString
}
func (*LoreAuthUserInfoEventDataFFI) Clone ¶
func (e *LoreAuthUserInfoEventDataFFI) Clone() LoreAuthUserInfoEventData
type LoreAuthUserTokenEventData ¶
type LoreAuthUserTokenEventData struct {
/* User identity */
Id string
/* Display name for the user */
Name string
/* The token string */
Token string
/* Preferred username from the token */
PreferredUsername string
/* Non-zero if the identity is a service account */
FlagServiceAccount bool
/* Expiry time in milliseconds since UNIX epoch, or 0 if unavailable */
Expires uint64
}
type LoreAuthUserTokenEventDataFFI ¶
type LoreAuthUserTokenEventDataFFI struct {
/* User identity */
Id LoreString
/* Display name for the user */
Name LoreString
/* The token string */
Token LoreString
/* Preferred username from the token */
PreferredUsername LoreString
/* Non-zero if the identity is a service account */
FlagServiceAccount uint8
/* Expiry time in milliseconds since UNIX epoch, or 0 if unavailable */
Expires uint64
}
func (*LoreAuthUserTokenEventDataFFI) Clone ¶
func (e *LoreAuthUserTokenEventDataFFI) Clone() LoreAuthUserTokenEventData
type LoreBinary ¶
type LoreBinary = []byte
type LoreBinaryFFI ¶
func NewLoreBinary ¶
func NewLoreBinary(data LoreBinary) (LoreBinaryFFI, func())
func NewLoreBytes ¶
func NewLoreBytes(data LoreBinary) (LoreBinaryFFI, func())
func (*LoreBinaryFFI) Clone ¶
func (data *LoreBinaryFFI) Clone() LoreBinary
type LoreBranchArchiveArgs ¶
type LoreBranchArchiveArgs struct {
/* Name of the branch */
Branch string
/* If set, archive only in this layer (mount path relative to repo root) */
Layer string
/* Also archive the branch in every configured layer */
IncludeLayers bool
/* If set, archive only in this link (mount path relative to repo root) */
Link string
/* Also archive the branch in every configured link */
IncludeLinks bool
}
type LoreBranchArchiveArgsFFI ¶
type LoreBranchArchiveArgsFFI struct {
/* Name of the branch */
Branch LoreString
/* If set, archive only in this layer (mount path relative to repo root) */
Layer LoreString
/* Also archive the branch in every configured layer */
IncludeLayers uint8
/* If set, archive only in this link (mount path relative to repo root) */
Link LoreString
/* Also archive the branch in every configured link */
IncludeLinks uint8
}
func NewLoreBranchArchiveArgs ¶
func NewLoreBranchArchiveArgs(opts LoreBranchArchiveArgs) (LoreBranchArchiveArgsFFI, func())
type LoreBranchArchiveEventData ¶
type LoreBranchArchiveEventData struct {
/* Name of the archived branch. */
Name string
}
type LoreBranchArchiveEventDataFFI ¶
type LoreBranchArchiveEventDataFFI struct {
/* Name of the archived branch. */
Name LoreString
}
func (*LoreBranchArchiveEventDataFFI) Clone ¶
func (e *LoreBranchArchiveEventDataFFI) Clone() LoreBranchArchiveEventData
type LoreBranchCreateArgs ¶
type LoreBranchCreateArgsFFI ¶
type LoreBranchCreateArgsFFI struct {
/* Name of the branch */
Branch LoreString
/* Category of the branch */
Category LoreString
/* Optional explicit branch ID (hex-encoded 16-byte context) */
Id LoreString
}
func NewLoreBranchCreateArgs ¶
func NewLoreBranchCreateArgs(opts LoreBranchCreateArgs) (LoreBranchCreateArgsFFI, func())
type LoreBranchCreateEventDataFFI ¶
type LoreBranchCreateEventDataFFI struct {
/* Name of the created branch. */
Name LoreString
/* Latest revision the new branch points at. */
Latest LoreHash
/* Set when creating the branch also produced a new commit. */
IsCommit uint8
}
func (*LoreBranchCreateEventDataFFI) Clone ¶
func (e *LoreBranchCreateEventDataFFI) Clone() LoreBranchCreateEventData
type LoreBranchDiffArgs ¶
type LoreBranchDiffArgsFFI ¶
type LoreBranchDiffArgsFFI struct {
/* Source branch name */
Source LoreString
/* Target branch name */
Target LoreString
/* Optional path in the repository to limit the diff to */
Path LoreString
/* Attempt to auto resolve conflicts */
AutoResolve uint8
}
func NewLoreBranchDiffArgs ¶
func NewLoreBranchDiffArgs(opts LoreBranchDiffArgs) (LoreBranchDiffArgsFFI, func())
type LoreBranchDiffBeginEventData ¶
type LoreBranchDiffBeginEventData struct {
/* Unused placeholder field. */
Unused uint32
}
type LoreBranchDiffBeginEventDataFFI ¶
type LoreBranchDiffBeginEventDataFFI struct {
/* Unused placeholder field. */
Unused uint32
}
func (*LoreBranchDiffBeginEventDataFFI) Clone ¶
func (e *LoreBranchDiffBeginEventDataFFI) Clone() LoreBranchDiffBeginEventData
type LoreBranchDiffChangeBeginEventData ¶
type LoreBranchDiffChangeBeginEventData struct {
/* Number of changes that follow. */
ChangesCount uintptr
}
type LoreBranchDiffChangeBeginEventDataFFI ¶
type LoreBranchDiffChangeBeginEventDataFFI struct {
/* Number of changes that follow. */
ChangesCount uintptr
}
func (*LoreBranchDiffChangeBeginEventDataFFI) Clone ¶
func (e *LoreBranchDiffChangeBeginEventDataFFI) Clone() LoreBranchDiffChangeBeginEventData
type LoreBranchDiffChangeEndEventData ¶
type LoreBranchDiffChangeEndEventData struct {
/* Unused placeholder field. */
Unused uint32
}
type LoreBranchDiffChangeEndEventDataFFI ¶
type LoreBranchDiffChangeEndEventDataFFI struct {
/* Unused placeholder field. */
Unused uint32
}
func (*LoreBranchDiffChangeEndEventDataFFI) Clone ¶
func (e *LoreBranchDiffChangeEndEventDataFFI) Clone() LoreBranchDiffChangeEndEventData
type LoreBranchDiffChangeEventData ¶
type LoreBranchDiffChangeEventData struct {
/* The changed node. */
Change LoreBranchDiffNodeData
}
type LoreBranchDiffChangeEventDataFFI ¶
type LoreBranchDiffChangeEventDataFFI struct {
/* The changed node. */
Change LoreBranchDiffNodeDataFFI
}
func (*LoreBranchDiffChangeEventDataFFI) Clone ¶
func (e *LoreBranchDiffChangeEventDataFFI) Clone() LoreBranchDiffChangeEventData
type LoreBranchDiffConflictBeginEventData ¶
type LoreBranchDiffConflictBeginEventData struct {
/* Number of conflicts that follow. */
ConflictsCount uintptr
}
type LoreBranchDiffConflictBeginEventDataFFI ¶
type LoreBranchDiffConflictBeginEventDataFFI struct {
/* Number of conflicts that follow. */
ConflictsCount uintptr
}
func (*LoreBranchDiffConflictBeginEventDataFFI) Clone ¶
func (e *LoreBranchDiffConflictBeginEventDataFFI) Clone() LoreBranchDiffConflictBeginEventData
type LoreBranchDiffConflictEndEventData ¶
type LoreBranchDiffConflictEndEventData struct {
/* Unused placeholder field. */
Unused uint32
}
type LoreBranchDiffConflictEndEventDataFFI ¶
type LoreBranchDiffConflictEndEventDataFFI struct {
/* Unused placeholder field. */
Unused uint32
}
func (*LoreBranchDiffConflictEndEventDataFFI) Clone ¶
func (e *LoreBranchDiffConflictEndEventDataFFI) Clone() LoreBranchDiffConflictEndEventData
type LoreBranchDiffConflictEventData ¶
type LoreBranchDiffConflictEventData struct {
/* The change on the source side of the conflict. */
SourceChange LoreBranchDiffNodeData
/* The change on the target side of the conflict. */
TargetChange LoreBranchDiffNodeData
}
type LoreBranchDiffConflictEventDataFFI ¶
type LoreBranchDiffConflictEventDataFFI struct {
/* The change on the source side of the conflict. */
SourceChange LoreBranchDiffNodeDataFFI
/* The change on the target side of the conflict. */
TargetChange LoreBranchDiffNodeDataFFI
}
func (*LoreBranchDiffConflictEventDataFFI) Clone ¶
func (e *LoreBranchDiffConflictEventDataFFI) Clone() LoreBranchDiffConflictEventData
type LoreBranchDiffEndEventData ¶
type LoreBranchDiffEndEventData struct {
/* Unused placeholder field. */
Unused uint32
}
type LoreBranchDiffEndEventDataFFI ¶
type LoreBranchDiffEndEventDataFFI struct {
/* Unused placeholder field. */
Unused uint32
}
func (*LoreBranchDiffEndEventDataFFI) Clone ¶
func (e *LoreBranchDiffEndEventDataFFI) Clone() LoreBranchDiffEndEventData
type LoreBranchDiffNodeData ¶
type LoreBranchDiffNodeData struct {
/* File action applied to the node. */
Action LoreFileAction
/* Path of the node. */
Path string
/* Set when the change was merged automatically. */
Automerged bool
/* Previous path of the node when it was moved or copied. Empty otherwise. */
FromPath string
}
type LoreBranchDiffNodeDataFFI ¶
type LoreBranchDiffNodeDataFFI struct {
/* File action applied to the node. */
Action LoreFileAction
/* Path of the node. */
Path LoreString
/* Set when the change was merged automatically. */
Automerged uint8
/* Previous path of the node when it was moved or copied. Empty otherwise. */
FromPath LoreString
}
func NewLoreBranchDiffNodeData ¶
func NewLoreBranchDiffNodeData(opts LoreBranchDiffNodeData) (LoreBranchDiffNodeDataFFI, func())
func (*LoreBranchDiffNodeDataFFI) Clone ¶
func (e *LoreBranchDiffNodeDataFFI) Clone() LoreBranchDiffNodeData
type LoreBranchId ¶
type LoreBranchId LoreContext
func (LoreBranchId) Clone ¶
func (c LoreBranchId) Clone() LoreBranchId
func (LoreBranchId) String ¶
func (c LoreBranchId) String() string
String returns the context as a lowercase hexadecimal string Implements fmt.Stringer interface
type LoreBranchInfoArgs ¶
type LoreBranchInfoArgsFFI ¶
type LoreBranchInfoArgsFFI struct {
/* Name of the branch */
Branch LoreString
/* Optional path of a link whose repository the branch belongs to */
Link LoreString
}
func NewLoreBranchInfoArgs ¶
func NewLoreBranchInfoArgs(opts LoreBranchInfoArgs) (LoreBranchInfoArgsFFI, func())
type LoreBranchInfoEventData ¶
type LoreBranchInfoEventData struct {
/* Branch identifier. */
Id LoreBranchId
/* Branch name. */
Name string
/* Branch category. */
Category string
/* Latest revision known locally for the branch. */
Latest LoreHash
/* Latest revision known on the remote for the branch. */
LatestRemote LoreHash
/* Identifier of the parent branch. */
Parent LoreBranchId
/* Revision on the parent branch where this branch was created. */
BranchPoint LoreHash
/* Identifier of the user who created the branch. */
Creator string
/* Creation time of the branch as a timestamp. */
Created uint64
/* Stack of branch points this branch was created from. */
Stack LoreBranchPointArray
/* Set when the branch has been archived. */
Archived bool
}
type LoreBranchInfoEventDataFFI ¶
type LoreBranchInfoEventDataFFI struct {
/* Branch identifier. */
Id LoreBranchId
/* Branch name. */
Name LoreString
/* Branch category. */
Category LoreString
/* Latest revision known locally for the branch. */
Latest LoreHash
/* Latest revision known on the remote for the branch. */
LatestRemote LoreHash
/* Identifier of the parent branch. */
Parent LoreBranchId
/* Revision on the parent branch where this branch was created. */
BranchPoint LoreHash
/* Identifier of the user who created the branch. */
Creator LoreString
/* Creation time of the branch as a timestamp. */
Created uint64
/* Stack of branch points this branch was created from. */
Stack LoreBranchPointArrayFFI
/* Set when the branch has been archived. */
Archived uint8
}
func (*LoreBranchInfoEventDataFFI) Clone ¶
func (e *LoreBranchInfoEventDataFFI) Clone() LoreBranchInfoEventData
type LoreBranchLatestListEntryEventData ¶
type LoreBranchLatestListEntryEventData struct {
/* Branch identifier. */
Branch LoreBranchId
/* Revision recorded in the history entry. */
Revision LoreHash
}
type LoreBranchLatestListEntryEventDataFFI ¶
type LoreBranchLatestListEntryEventDataFFI struct {
/* Branch identifier. */
Branch LoreBranchId
/* Revision recorded in the history entry. */
Revision LoreHash
}
func (*LoreBranchLatestListEntryEventDataFFI) Clone ¶
func (e *LoreBranchLatestListEntryEventDataFFI) Clone() LoreBranchLatestListEntryEventData
type LoreBranchListArgs ¶
type LoreBranchListArgs struct {
/* Include archived local branches in listing */
Archived bool
}
type LoreBranchListArgsFFI ¶
type LoreBranchListArgsFFI struct {
/* Include archived local branches in listing */
Archived uint8
}
func NewLoreBranchListArgs ¶
func NewLoreBranchListArgs(opts LoreBranchListArgs) (LoreBranchListArgsFFI, func())
type LoreBranchListBeginEventData ¶
type LoreBranchListBeginEventData struct {
/* Location the listed branches come from. */
Location LoreBranchLocation
}
type LoreBranchListBeginEventDataFFI ¶
type LoreBranchListBeginEventDataFFI struct {
/* Location the listed branches come from. */
Location LoreBranchLocation
}
func (*LoreBranchListBeginEventDataFFI) Clone ¶
func (e *LoreBranchListBeginEventDataFFI) Clone() LoreBranchListBeginEventData
type LoreBranchListEndEventData ¶
type LoreBranchListEndEventData struct {
/* Location the listed branches came from. */
Location LoreBranchLocation
/* Number of branches that were listed. */
Count uint64
}
type LoreBranchListEndEventDataFFI ¶
type LoreBranchListEndEventDataFFI struct {
/* Location the listed branches came from. */
Location LoreBranchLocation
/* Number of branches that were listed. */
Count uint64
}
func (*LoreBranchListEndEventDataFFI) Clone ¶
func (e *LoreBranchListEndEventDataFFI) Clone() LoreBranchListEndEventData
type LoreBranchListEntryEventData ¶
type LoreBranchListEntryEventData struct {
/* Location this branch comes from. */
Location LoreBranchLocation
/* Branch identifier. */
Id LoreBranchId
/* Branch name. */
Name string
/* Branch category. */
Category string
/* Latest revision the branch points at. */
Latest LoreHash
/* Stack of branch points this branch was created from. */
Stack LoreBranchPointArray
/* Identifier of the user who created the branch. */
Creator string
/* Creation time of the branch as a timestamp. */
Created uint64
/* Set when this branch is the current branch. */
IsCurrent bool
/* Set when this branch has been archived. */
Archived bool
}
type LoreBranchListEntryEventDataFFI ¶
type LoreBranchListEntryEventDataFFI struct {
/* Location this branch comes from. */
Location LoreBranchLocation
/* Branch identifier. */
Id LoreBranchId
/* Branch name. */
Name LoreString
/* Branch category. */
Category LoreString
/* Latest revision the branch points at. */
Latest LoreHash
/* Stack of branch points this branch was created from. */
Stack LoreBranchPointArrayFFI
/* Identifier of the user who created the branch. */
Creator LoreString
/* Creation time of the branch as a timestamp. */
Created uint64
/* Set when this branch is the current branch. */
IsCurrent uint8
/* Set when this branch has been archived. */
Archived uint8
}
func (*LoreBranchListEntryEventDataFFI) Clone ¶
func (e *LoreBranchListEntryEventDataFFI) Clone() LoreBranchListEntryEventData
type LoreBranchLocation ¶
type LoreBranchLocation int32
const ( LoreBranchLocation_LOCAL LoreBranchLocation = 0 LoreBranchLocation_REMOTE LoreBranchLocation = 1 )
type LoreBranchMergeAbortArgsFFI ¶
type LoreBranchMergeAbortArgsFFI struct {
/* Optional link path for link-scoped abort */
Link LoreString
/* Abort only the main repository merge, keeping link pin updates */
IgnoreLinks uint8
}
func NewLoreBranchMergeAbortArgs ¶
func NewLoreBranchMergeAbortArgs(opts LoreBranchMergeAbortArgs) (LoreBranchMergeAbortArgsFFI, func())
type LoreBranchMergeAbortBeginEventDataFFI ¶
type LoreBranchMergeAbortBeginEventDataFFI struct {
/* The staged revision being discarded. */
StateStagedRevision LoreHash
/* The current revision the working state returns to. */
StateCurrentRevision LoreHash
}
func (*LoreBranchMergeAbortBeginEventDataFFI) Clone ¶
func (e *LoreBranchMergeAbortBeginEventDataFFI) Clone() LoreBranchMergeAbortBeginEventData
type LoreBranchMergeAbortEndEventData ¶
type LoreBranchMergeAbortEndEventData struct {
/* Placeholder field. The event carries no payload. */
Unused uint32
}
type LoreBranchMergeAbortEndEventDataFFI ¶
type LoreBranchMergeAbortEndEventDataFFI struct {
/* Placeholder field. The event carries no payload. */
Unused uint32
}
func (*LoreBranchMergeAbortEndEventDataFFI) Clone ¶
func (e *LoreBranchMergeAbortEndEventDataFFI) Clone() LoreBranchMergeAbortEndEventData
type LoreBranchMergeConflictFileEventData ¶
type LoreBranchMergeConflictFileEventData struct {
/* The path of the conflicted file. */
Path string
}
type LoreBranchMergeConflictFileEventDataFFI ¶
type LoreBranchMergeConflictFileEventDataFFI struct {
/* The path of the conflicted file. */
Path LoreString
}
func (*LoreBranchMergeConflictFileEventDataFFI) Clone ¶
func (e *LoreBranchMergeConflictFileEventDataFFI) Clone() LoreBranchMergeConflictFileEventData
type LoreBranchMergeIntoArgs ¶
type LoreBranchMergeIntoArgs struct {
/* Name of the target branch to merge into */
Branch string
/* ID of the target branch to merge into */
BranchId LoreContext
/* Commit message for the auto-commit */
Message string
/* Optional link path for link-scoped merge into */
Link string
/* Merge only the main repository, skipping all linked repositories */
IgnoreLinks bool
}
type LoreBranchMergeIntoArgsFFI ¶
type LoreBranchMergeIntoArgsFFI struct {
/* Name of the target branch to merge into */
Branch LoreString
/* ID of the target branch to merge into */
BranchId LoreContext
/* Commit message for the auto-commit */
Message LoreString
/* Optional link path for link-scoped merge into */
Link LoreString
/* Merge only the main repository, skipping all linked repositories */
IgnoreLinks uint8
}
func NewLoreBranchMergeIntoArgs ¶
func NewLoreBranchMergeIntoArgs(opts LoreBranchMergeIntoArgs) (LoreBranchMergeIntoArgsFFI, func())
type LoreBranchMergeIntoFileBeginEventData ¶
type LoreBranchMergeIntoFileBeginEventData struct {
/* The number of files to merge. */
Count uintptr
}
type LoreBranchMergeIntoFileBeginEventDataFFI ¶
type LoreBranchMergeIntoFileBeginEventDataFFI struct {
/* The number of files to merge. */
Count uintptr
}
type LoreBranchMergeIntoFileEndEventData ¶
type LoreBranchMergeIntoFileEndEventData struct {
/* The number of files merged. */
Count uintptr
}
type LoreBranchMergeIntoFileEndEventDataFFI ¶
type LoreBranchMergeIntoFileEndEventDataFFI struct {
/* The number of files merged. */
Count uintptr
}
func (*LoreBranchMergeIntoFileEndEventDataFFI) Clone ¶
func (e *LoreBranchMergeIntoFileEndEventDataFFI) Clone() LoreBranchMergeIntoFileEndEventData
type LoreBranchMergeIntoFileEventData ¶
type LoreBranchMergeIntoFileEventData struct {
/* The path of the file. */
Path string
/* The action applied to the file. */
Action LoreFileAction
/* The size of the file in bytes. */
Size uint64
/* Set when the entry is a regular file. */
IsFile bool
/* Set when the entry is a directory. */
IsDirectory bool
/* Set when the entry is a link. */
IsLink bool
}
type LoreBranchMergeIntoFileEventDataFFI ¶
type LoreBranchMergeIntoFileEventDataFFI struct {
/* The path of the file. */
Path LoreString
/* The action applied to the file. */
Action LoreFileAction
/* The size of the file in bytes. */
Size uint64
/* Set when the entry is a regular file. */
IsFile uint8
/* Set when the entry is a directory. */
IsDirectory uint8
/* Set when the entry is a link. */
IsLink uint8
}
func (*LoreBranchMergeIntoFileEventDataFFI) Clone ¶
func (e *LoreBranchMergeIntoFileEventDataFFI) Clone() LoreBranchMergeIntoFileEventData
type LoreBranchMergeIntoFragmentBeginEventData ¶
type LoreBranchMergeIntoFragmentBeginEventData struct {
/* The number of fragments to transfer. */
Fragments uint64
}
type LoreBranchMergeIntoFragmentBeginEventDataFFI ¶
type LoreBranchMergeIntoFragmentBeginEventDataFFI struct {
/* The number of fragments to transfer. */
Fragments uint64
}
type LoreBranchMergeIntoFragmentEndEventData ¶
type LoreBranchMergeIntoFragmentEndEventData struct {
/* The number of fragments transferred. */
Fragments uint64
}
type LoreBranchMergeIntoFragmentEndEventDataFFI ¶
type LoreBranchMergeIntoFragmentEndEventDataFFI struct {
/* The number of fragments transferred. */
Fragments uint64
}
type LoreBranchMergeIntoFragmentProgressEventDataFFI ¶
type LoreBranchMergeIntoFragmentProgressEventDataFFI struct {
/* The number of fragments transferred so far. */
Complete uint64
/* The total number of fragments to transfer. */
Count uint64
}
type LoreBranchMergeIntoRevisionEventDataFFI ¶
type LoreBranchMergeIntoRevisionEventDataFFI struct {
/* The revision merged. */
Revision LoreHash
/* The sequential number of the revision. */
RevisionNumber uint64
}
func (*LoreBranchMergeIntoRevisionEventDataFFI) Clone ¶
func (e *LoreBranchMergeIntoRevisionEventDataFFI) Clone() LoreBranchMergeIntoRevisionEventData
type LoreBranchMergeIntoSyncBeginEventData ¶
type LoreBranchMergeIntoSyncBeginEventData struct {
/* The number of revisions to synchronize. */
Count uintptr
}
type LoreBranchMergeIntoSyncBeginEventDataFFI ¶
type LoreBranchMergeIntoSyncBeginEventDataFFI struct {
/* The number of revisions to synchronize. */
Count uintptr
}
type LoreBranchMergeIntoSyncEndEventData ¶
type LoreBranchMergeIntoSyncEndEventData struct {
/* The number of revisions synchronized. */
Count uintptr
}
type LoreBranchMergeIntoSyncEndEventDataFFI ¶
type LoreBranchMergeIntoSyncEndEventDataFFI struct {
/* The number of revisions synchronized. */
Count uintptr
}
func (*LoreBranchMergeIntoSyncEndEventDataFFI) Clone ¶
func (e *LoreBranchMergeIntoSyncEndEventDataFFI) Clone() LoreBranchMergeIntoSyncEndEventData
type LoreBranchMergeLinkSkippedEventData ¶
type LoreBranchMergeLinkSkippedEventData struct {
/* The mount path of the skipped link. */
LinkPath string
/* The repository of the skipped link. */
Repository LoreRepositoryId
/* The reason the link was skipped. */
Reason bool
}
type LoreBranchMergeLinkSkippedEventDataFFI ¶
type LoreBranchMergeLinkSkippedEventDataFFI struct {
/* The mount path of the skipped link. */
LinkPath LoreString
/* The repository of the skipped link. */
Repository LoreRepositoryId
/* The reason the link was skipped. */
Reason uint8
}
func (*LoreBranchMergeLinkSkippedEventDataFFI) Clone ¶
func (e *LoreBranchMergeLinkSkippedEventDataFFI) Clone() LoreBranchMergeLinkSkippedEventData
type LoreBranchMergeResolveArgs ¶
type LoreBranchMergeResolveArgs struct {
/* Paths to mark resolved */
Paths []string
}
type LoreBranchMergeResolveArgsFFI ¶
type LoreBranchMergeResolveArgsFFI struct {
/* Paths to mark resolved */
Paths LoreStringArrayFFI
}
func NewLoreBranchMergeResolveArgs ¶
func NewLoreBranchMergeResolveArgs(opts LoreBranchMergeResolveArgs) (LoreBranchMergeResolveArgsFFI, func())
type LoreBranchMergeResolveFileEventData ¶
type LoreBranchMergeResolveFileEventData struct {
/* The path of the file marked resolved. */
Path string
}
type LoreBranchMergeResolveFileEventDataFFI ¶
type LoreBranchMergeResolveFileEventDataFFI struct {
/* The path of the file marked resolved. */
Path LoreString
}
func (*LoreBranchMergeResolveFileEventDataFFI) Clone ¶
func (e *LoreBranchMergeResolveFileEventDataFFI) Clone() LoreBranchMergeResolveFileEventData
type LoreBranchMergeResolveMineArgs ¶
type LoreBranchMergeResolveMineArgs struct {
/* Paths to resolve as "mine" */
Paths []string
}
type LoreBranchMergeResolveMineArgsFFI ¶
type LoreBranchMergeResolveMineArgsFFI struct {
/* Paths to resolve as "mine" */
Paths LoreStringArrayFFI
}
func NewLoreBranchMergeResolveMineArgs ¶
func NewLoreBranchMergeResolveMineArgs(opts LoreBranchMergeResolveMineArgs) (LoreBranchMergeResolveMineArgsFFI, func())
type LoreBranchMergeResolveRevisionEventData ¶
type LoreBranchMergeResolveRevisionEventData struct {
/* The repository of the revision marked resolved. */
Repository LoreRepositoryId
/* The revision marked resolved. */
Revision LoreHash
}
type LoreBranchMergeResolveRevisionEventDataFFI ¶
type LoreBranchMergeResolveRevisionEventDataFFI struct {
/* The repository of the revision marked resolved. */
Repository LoreRepositoryId
/* The revision marked resolved. */
Revision LoreHash
}
type LoreBranchMergeResolveTheirsArgs ¶
type LoreBranchMergeResolveTheirsArgs struct {
/* Paths to resolve as "theirs" */
Paths []string
}
type LoreBranchMergeResolveTheirsArgsFFI ¶
type LoreBranchMergeResolveTheirsArgsFFI struct {
/* Paths to resolve as "theirs" */
Paths LoreStringArrayFFI
}
func NewLoreBranchMergeResolveTheirsArgs ¶
func NewLoreBranchMergeResolveTheirsArgs(opts LoreBranchMergeResolveTheirsArgs) (LoreBranchMergeResolveTheirsArgsFFI, func())
type LoreBranchMergeRestartArgs ¶
type LoreBranchMergeRestartArgs struct {
/* Paths to re-materialize */
Paths []string
}
type LoreBranchMergeRestartArgsFFI ¶
type LoreBranchMergeRestartArgsFFI struct {
/* Paths to re-materialize */
Paths LoreStringArrayFFI
}
func NewLoreBranchMergeRestartArgs ¶
func NewLoreBranchMergeRestartArgs(opts LoreBranchMergeRestartArgs) (LoreBranchMergeRestartArgsFFI, func())
type LoreBranchMergeStartArgs ¶
type LoreBranchMergeStartArgs struct {
/* Name of the source branch to merge into the current branch */
Branch string
/* Message to use for an auto commit if no conflicts arise */
Message string
/* Disable auto commit even if no conflicts arise */
NoCommit bool
/* Optional link path for link-scoped merge */
Link string
/* Merge only the main repository, skipping all linked repositories */
IgnoreLinks bool
}
type LoreBranchMergeStartArgsFFI ¶
type LoreBranchMergeStartArgsFFI struct {
/* Name of the source branch to merge into the current branch */
Branch LoreString
/* Message to use for an auto commit if no conflicts arise */
Message LoreString
/* Disable auto commit even if no conflicts arise */
NoCommit uint8
/* Optional link path for link-scoped merge */
Link LoreString
/* Merge only the main repository, skipping all linked repositories */
IgnoreLinks uint8
}
func NewLoreBranchMergeStartArgs ¶
func NewLoreBranchMergeStartArgs(opts LoreBranchMergeStartArgs) (LoreBranchMergeStartArgsFFI, func())
type LoreBranchMergeStartBeginEventData ¶
type LoreBranchMergeStartBeginEventData struct {
/* The source branch being merged. */
Branch LoreBranchId
/* The source revision being merged. */
Revision LoreHash
/* The sequential number of the source revision. */
RevisionNumber uint64
}
type LoreBranchMergeStartBeginEventDataFFI ¶
type LoreBranchMergeStartBeginEventDataFFI struct {
/* The source branch being merged. */
Branch LoreBranchId
/* The source revision being merged. */
Revision LoreHash
/* The sequential number of the source revision. */
RevisionNumber uint64
}
func (*LoreBranchMergeStartBeginEventDataFFI) Clone ¶
func (e *LoreBranchMergeStartBeginEventDataFFI) Clone() LoreBranchMergeStartBeginEventData
type LoreBranchMergeStartEndEventData ¶
type LoreBranchMergeStartEndEventData struct {
/* Progress totals collected while applying the merge. */
Stats LoreRevisionSyncProgressEventData
/* The revision produced by the merge. */
Signature LoreHash
/* Set when the merge produced file conflicts. */
HasConflicts bool
}
type LoreBranchMergeStartEndEventDataFFI ¶
type LoreBranchMergeStartEndEventDataFFI struct {
/* Progress totals collected while applying the merge. */
Stats LoreRevisionSyncProgressEventDataFFI
/* The revision produced by the merge. */
Signature LoreHash
/* Set when the merge produced file conflicts. */
HasConflicts uint8
}
func (*LoreBranchMergeStartEndEventDataFFI) Clone ¶
func (e *LoreBranchMergeStartEndEventDataFFI) Clone() LoreBranchMergeStartEndEventData
type LoreBranchMergeUnresolveArgs ¶
type LoreBranchMergeUnresolveArgs struct {
/* Paths to mark unresolved */
Paths []string
}
type LoreBranchMergeUnresolveArgsFFI ¶
type LoreBranchMergeUnresolveArgsFFI struct {
/* Paths to mark unresolved */
Paths LoreStringArrayFFI
}
func NewLoreBranchMergeUnresolveArgs ¶
func NewLoreBranchMergeUnresolveArgs(opts LoreBranchMergeUnresolveArgs) (LoreBranchMergeUnresolveArgsFFI, func())
type LoreBranchMergeUnresolveFileEventData ¶
type LoreBranchMergeUnresolveFileEventData struct {
/* The path of the file marked unresolved. */
Path string
}
type LoreBranchMergeUnresolveFileEventDataFFI ¶
type LoreBranchMergeUnresolveFileEventDataFFI struct {
/* The path of the file marked unresolved. */
Path LoreString
}
type LoreBranchMergeUnresolveRevisionEventData ¶
type LoreBranchMergeUnresolveRevisionEventData struct {
/* The repository of the revision marked unresolved. */
Repository LoreRepositoryId
/* The revision marked unresolved. */
Revision LoreHash
}
type LoreBranchMergeUnresolveRevisionEventDataFFI ¶
type LoreBranchMergeUnresolveRevisionEventDataFFI struct {
/* The repository of the revision marked unresolved. */
Repository LoreRepositoryId
/* The revision marked unresolved. */
Revision LoreHash
}
type LoreBranchMetadataClearArgsFFI ¶
type LoreBranchMetadataClearArgsFFI struct {
/* Branch name or identifier */
Branch LoreString
/* Keys to clear (empty array clears all user-defined keys) */
Keys LoreStringArrayFFI
}
func NewLoreBranchMetadataClearArgs ¶
func NewLoreBranchMetadataClearArgs(opts LoreBranchMetadataClearArgs) (LoreBranchMetadataClearArgsFFI, func())
type LoreBranchMetadataGetArgsFFI ¶
type LoreBranchMetadataGetArgsFFI struct {
/* Branch name or identifier */
Branch LoreString
/* Metadata key (empty string lists all) */
Key LoreString
}
func NewLoreBranchMetadataGetArgs ¶
func NewLoreBranchMetadataGetArgs(opts LoreBranchMetadataGetArgs) (LoreBranchMetadataGetArgsFFI, func())
type LoreBranchMetadataSetArgs ¶
type LoreBranchMetadataSetArgs struct {
/* Branch name or identifier */
Branch string
/* Metadata keys to set (parallel with `values`/`formats`) */
Keys []string
/* Values to set, one per key (decoded per the matching `formats` entry) */
Values []string
/* Value type for each key, one per key */
Formats LoreMetadataTypeArray
}
type LoreBranchMetadataSetArgsFFI ¶
type LoreBranchMetadataSetArgsFFI struct {
/* Branch name or identifier */
Branch LoreString
/* Metadata keys to set (parallel with `values`/`formats`) */
Keys LoreStringArrayFFI
/* Values to set, one per key (decoded per the matching `formats` entry) */
Values LoreStringArrayFFI
/* Value type for each key, one per key */
Formats LoreMetadataTypeArrayFFI
}
func NewLoreBranchMetadataSetArgs ¶
func NewLoreBranchMetadataSetArgs(opts LoreBranchMetadataSetArgs) (LoreBranchMetadataSetArgsFFI, func())
type LoreBranchMultipleInstanceEventData ¶
type LoreBranchMultipleInstanceEventData struct {
/* The branch checked out by more than one instance */
Branch LoreBranchId
/* Identifiers of the other instances on the branch */
InstanceIds LoreInstanceIdArray
/* Filesystem paths of the other instances on the branch */
InstancePaths []string
}
type LoreBranchMultipleInstanceEventDataFFI ¶
type LoreBranchMultipleInstanceEventDataFFI struct {
/* The branch checked out by more than one instance */
Branch LoreBranchId
/* Identifiers of the other instances on the branch */
InstanceIds LoreInstanceIdArrayFFI
/* Filesystem paths of the other instances on the branch */
InstancePaths LoreStringArrayFFI
}
func (*LoreBranchMultipleInstanceEventDataFFI) Clone ¶
func (e *LoreBranchMultipleInstanceEventDataFFI) Clone() LoreBranchMultipleInstanceEventData
type LoreBranchPoint ¶
type LoreBranchPoint struct {
/* The branch. */
Branch LoreBranchId
/* The revision on the branch. */
Revision LoreHash
}
type LoreBranchPointArray ¶
type LoreBranchPointArray = []LoreBranchPoint
type LoreBranchPointArrayFFI ¶
func NewLoreBranchPointArray ¶
func NewLoreBranchPointArray(arr []LoreBranchPoint) (LoreBranchPointArrayFFI, func())
func (LoreBranchPointArrayFFI) Clone ¶
func (arr LoreBranchPointArrayFFI) Clone() []LoreBranchPoint
func (LoreBranchPointArrayFFI) Get ¶
func (arr LoreBranchPointArrayFFI) Get(index int) LoreBranchPoint
func (LoreBranchPointArrayFFI) Len ¶
func (arr LoreBranchPointArrayFFI) Len() int
type LoreBranchPointFFI ¶
type LoreBranchPointFFI struct {
/* The branch. */
Branch LoreBranchId
/* The revision on the branch. */
Revision LoreHash
}
func NewLoreBranchPoint ¶
func NewLoreBranchPoint(opts LoreBranchPoint) (LoreBranchPointFFI, func())
func (*LoreBranchPointFFI) Clone ¶
func (e *LoreBranchPointFFI) Clone() LoreBranchPoint
type LoreBranchProtectArgs ¶
type LoreBranchProtectArgs struct {
/* Name of the branch */
Branch string
}
type LoreBranchProtectArgsFFI ¶
type LoreBranchProtectArgsFFI struct {
/* Name of the branch */
Branch LoreString
}
func NewLoreBranchProtectArgs ¶
func NewLoreBranchProtectArgs(opts LoreBranchProtectArgs) (LoreBranchProtectArgsFFI, func())
type LoreBranchProtectEventData ¶
type LoreBranchProtectEventData struct {
/* Name of the protected branch. */
Name string
}
type LoreBranchProtectEventDataFFI ¶
type LoreBranchProtectEventDataFFI struct {
/* Name of the protected branch. */
Name LoreString
}
func (*LoreBranchProtectEventDataFFI) Clone ¶
func (e *LoreBranchProtectEventDataFFI) Clone() LoreBranchProtectEventData
type LoreBranchPushArgs ¶
type LoreBranchPushArgsFFI ¶
type LoreBranchPushArgsFFI struct {
/* Optional branch to push, current branch if not given */
Branch LoreString
/* Allow the server to fast-forward merge if the target branch head has moved */
FastForwardMerge uint8
}
func NewLoreBranchPushArgs ¶
func NewLoreBranchPushArgs(opts LoreBranchPushArgs) (LoreBranchPushArgsFFI, func())
type LoreBranchPushBranchCreateBeginEventData ¶
type LoreBranchPushBranchCreateBeginEventData struct {
/* The repository the branch is created in. */
Repository LoreRepositoryId
/* The branch being created. */
Branch LoreBranchId
/* The local revision the branch starts from. */
LocalRevision LoreHash
}
type LoreBranchPushBranchCreateBeginEventDataFFI ¶
type LoreBranchPushBranchCreateBeginEventDataFFI struct {
/* The repository the branch is created in. */
Repository LoreRepositoryId
/* The branch being created. */
Branch LoreBranchId
/* The local revision the branch starts from. */
LocalRevision LoreHash
}
type LoreBranchPushBranchCreateEndEventData ¶
type LoreBranchPushBranchCreateEndEventData struct {
/* The revision the branch points to on the remote. */
RemoteRevision LoreHash
}
type LoreBranchPushBranchCreateEndEventDataFFI ¶
type LoreBranchPushBranchCreateEndEventDataFFI struct {
/* The revision the branch points to on the remote. */
RemoteRevision LoreHash
}
type LoreBranchPushEventData ¶
type LoreBranchPushEventData struct {
/* The remote being pushed to. */
Remote string
/* The repository being pushed. */
Repository LoreRepositoryId
/* The branch being pushed. */
Branch LoreBranchId
/* The name of the branch being pushed. */
BranchName string
/* The latest revision of the branch on the remote. */
RemoteRevision LoreHash
/* The latest revision of the branch in the local repository. */
LocalRevision LoreHash
/* The number of revisions on the remote that are not present locally. */
RemoteHistory uint64
/* The number of local revisions to push. */
LocalHistory uint64
/* Set when the local revision is already present on the remote. */
FlagAlreadyPushed bool
/* Set when the branch is the repository's default branch. */
FlagDefault bool
/* Set when the repository is a linked repository. */
FlagLink bool
/* Set when the repository is a layer. */
FlagLayer bool
}
type LoreBranchPushEventDataFFI ¶
type LoreBranchPushEventDataFFI struct {
/* The remote being pushed to. */
Remote LoreString
/* The repository being pushed. */
Repository LoreRepositoryId
/* The branch being pushed. */
Branch LoreBranchId
/* The name of the branch being pushed. */
BranchName LoreString
/* The latest revision of the branch on the remote. */
RemoteRevision LoreHash
/* The latest revision of the branch in the local repository. */
LocalRevision LoreHash
/* The number of revisions on the remote that are not present locally. */
RemoteHistory uint64
/* The number of local revisions to push. */
LocalHistory uint64
/* Set when the local revision is already present on the remote. */
FlagAlreadyPushed uint8
/* Set when the branch is the repository's default branch. */
FlagDefault uint8
/* Set when the repository is a linked repository. */
FlagLink uint8
/* Set when the repository is a layer. */
FlagLayer uint8
}
func (*LoreBranchPushEventDataFFI) Clone ¶
func (e *LoreBranchPushEventDataFFI) Clone() LoreBranchPushEventData
type LoreBranchPushFragmentBeginEventDataFFI ¶
type LoreBranchPushFragmentBeginEventDataFFI struct {
/* The number of fragments to transfer. */
Fragments uint64
/* The total number of bytes to transfer. */
BytesTotal uint64
}
func (*LoreBranchPushFragmentBeginEventDataFFI) Clone ¶
func (e *LoreBranchPushFragmentBeginEventDataFFI) Clone() LoreBranchPushFragmentBeginEventData
type LoreBranchPushFragmentEndEventDataFFI ¶
type LoreBranchPushFragmentEndEventDataFFI struct {
/* The number of fragments transferred. */
Fragments uint64
/* The number of bytes transferred. */
BytesTransferred uint64
}
func (*LoreBranchPushFragmentEndEventDataFFI) Clone ¶
func (e *LoreBranchPushFragmentEndEventDataFFI) Clone() LoreBranchPushFragmentEndEventData
type LoreBranchPushFragmentProgressEventData ¶
type LoreBranchPushFragmentProgressEventData struct {
/* The number of fragments transferred so far. */
Complete uint64
/* The total number of fragments to transfer. */
Count uint64
/* The number of bytes transferred so far. */
BytesTransferred uint64
/* The total number of bytes to transfer. */
BytesTotal uint64
}
type LoreBranchPushFragmentProgressEventDataFFI ¶
type LoreBranchPushFragmentProgressEventDataFFI struct {
/* The number of fragments transferred so far. */
Complete uint64
/* The total number of fragments to transfer. */
Count uint64
/* The number of bytes transferred so far. */
BytesTransferred uint64
/* The total number of bytes to transfer. */
BytesTotal uint64
}
type LoreBranchPushRevisionPushBeginEventData ¶
type LoreBranchPushRevisionPushBeginEventData struct {
/* The repository being pushed. */
Repository LoreRepositoryId
/* The branch being pushed to. */
Branch LoreBranchId
/* The latest revision of the branch on the remote. */
RemoteRevision LoreHash
/* The local revision being pushed. */
LocalRevision LoreHash
}
type LoreBranchPushRevisionPushBeginEventDataFFI ¶
type LoreBranchPushRevisionPushBeginEventDataFFI struct {
/* The repository being pushed. */
Repository LoreRepositoryId
/* The branch being pushed to. */
Branch LoreBranchId
/* The latest revision of the branch on the remote. */
RemoteRevision LoreHash
/* The local revision being pushed. */
LocalRevision LoreHash
}
type LoreBranchPushRevisionPushEndEventData ¶
type LoreBranchPushRevisionPushEndEventData struct {
/* The repository that was pushed. */
Repository LoreRepositoryId
/* The branch that was pushed to. */
Branch LoreBranchId
/* The branch revision on the remote before the push. */
OldRemoteRevision LoreHash
/* The branch revision on the remote after the push. */
NewRemoteRevision LoreHash
/* The sequential number of the new remote revision. */
NewRemoteRevisionNumber uint64
/* A message returned by the remote for the push. */
Message string
/* Set when the remote performed a fast-forward merge. */
FastForwardMerged bool
}
type LoreBranchPushRevisionPushEndEventDataFFI ¶
type LoreBranchPushRevisionPushEndEventDataFFI struct {
/* The repository that was pushed. */
Repository LoreRepositoryId
/* The branch that was pushed to. */
Branch LoreBranchId
/* The branch revision on the remote before the push. */
OldRemoteRevision LoreHash
/* The branch revision on the remote after the push. */
NewRemoteRevision LoreHash
/* The sequential number of the new remote revision. */
NewRemoteRevisionNumber uint64
/* A message returned by the remote for the push. */
Message LoreString
/* Set when the remote performed a fast-forward merge. */
FastForwardMerged uint8
}
type LoreBranchPushRevisionPushUpdateEventDataFFI ¶
type LoreBranchPushRevisionPushUpdateEventDataFFI struct {
/* The revision before the remote reassigned it. */
OldRevision LoreHash
/* The revision the remote assigned. */
NewRevision LoreHash
/* The sequential number of the new revision. */
NewRevisionNumber uint64
}
type LoreBranchPushRevisionUpdateBeginEventDataFFI ¶
type LoreBranchPushRevisionUpdateBeginEventDataFFI struct {
/* The revision being updated. */
Revision LoreHash
/* The previous parent revision. */
OldParent LoreHash
/* The new parent revision. */
NewParent LoreHash
}
type LoreBranchPushRevisionUpdateEndEventData ¶
type LoreBranchPushRevisionUpdateEndEventData struct {
/* The updated revision. */
Revision LoreHash
}
type LoreBranchPushRevisionUpdateEndEventDataFFI ¶
type LoreBranchPushRevisionUpdateEndEventDataFFI struct {
/* The updated revision. */
Revision LoreHash
}
type LoreBranchResetArgs ¶
type LoreBranchResetArgsFFI ¶
type LoreBranchResetArgsFFI struct {
/* Revision to reset the local LATEST pointer to */
Revision LoreString
/* Branch to reset, current branch if empty */
Branch LoreString
}
func NewLoreBranchResetArgs ¶
func NewLoreBranchResetArgs(opts LoreBranchResetArgs) (LoreBranchResetArgsFFI, func())
type LoreBranchResetEventData ¶
type LoreBranchResetEventData struct {
/* Branch identifier. */
Id LoreContext
/* Branch name. */
Name string
/* Revision the branch was reset to. */
Revision LoreHash
}
type LoreBranchResetEventDataFFI ¶
type LoreBranchResetEventDataFFI struct {
/* Branch identifier. */
Id LoreContext
/* Branch name. */
Name LoreString
/* Revision the branch was reset to. */
Revision LoreHash
}
func (*LoreBranchResetEventDataFFI) Clone ¶
func (e *LoreBranchResetEventDataFFI) Clone() LoreBranchResetEventData
type LoreBranchSwitchArgs ¶
type LoreBranchSwitchArgsFFI ¶
type LoreBranchSwitchArgsFFI struct {
/* Name of the branch */
Branch LoreString
/* Hash of the revision */
Revision LoreString
/* Reset local modified files to match the incoming revision */
Reset uint8
/* Only update anchor tracking without modifying or verifying files */
Bare uint8
}
func NewLoreBranchSwitchArgs ¶
func NewLoreBranchSwitchArgs(opts LoreBranchSwitchArgs) (LoreBranchSwitchArgsFFI, func())
type LoreBranchSwitchBeginEventData ¶
type LoreBranchSwitchBeginEventData struct {
/* Details of the branch being switched to. */
Branch LoreBranchSwitchData
}
type LoreBranchSwitchBeginEventDataFFI ¶
type LoreBranchSwitchBeginEventDataFFI struct {
/* Details of the branch being switched to. */
Branch LoreBranchSwitchDataFFI
}
func (*LoreBranchSwitchBeginEventDataFFI) Clone ¶
func (e *LoreBranchSwitchBeginEventDataFFI) Clone() LoreBranchSwitchBeginEventData
type LoreBranchSwitchData ¶
type LoreBranchSwitchData struct {
/* Branch identifier. */
Id LoreBranchId
/* Branch name. */
Name string
/* Latest revision known locally for the branch. */
LatestLocal LoreHash
/* Latest revision known on the remote for the branch. */
LatestRemote LoreHash
/* Revision the branch is switched to. */
Revision LoreHash
/* Where the branch exists: local, remote, or both. */
Location LoreBranchLocation
}
type LoreBranchSwitchDataFFI ¶
type LoreBranchSwitchDataFFI struct {
/* Branch identifier. */
Id LoreBranchId
/* Branch name. */
Name LoreString
/* Latest revision known locally for the branch. */
LatestLocal LoreHash
/* Latest revision known on the remote for the branch. */
LatestRemote LoreHash
/* Revision the branch is switched to. */
Revision LoreHash
/* Where the branch exists: local, remote, or both. */
Location LoreBranchLocation
}
func NewLoreBranchSwitchData ¶
func NewLoreBranchSwitchData(opts LoreBranchSwitchData) (LoreBranchSwitchDataFFI, func())
func (*LoreBranchSwitchDataFFI) Clone ¶
func (e *LoreBranchSwitchDataFFI) Clone() LoreBranchSwitchData
type LoreBranchSwitchEndEventData ¶
type LoreBranchSwitchEndEventData struct {
/* Details of the branch that was switched to. */
Branch LoreBranchSwitchData
}
type LoreBranchSwitchEndEventDataFFI ¶
type LoreBranchSwitchEndEventDataFFI struct {
/* Details of the branch that was switched to. */
Branch LoreBranchSwitchDataFFI
}
func (*LoreBranchSwitchEndEventDataFFI) Clone ¶
func (e *LoreBranchSwitchEndEventDataFFI) Clone() LoreBranchSwitchEndEventData
type LoreBranchUnprotectArgs ¶
type LoreBranchUnprotectArgs struct {
/* Name of the branch */
Branch string
}
type LoreBranchUnprotectArgsFFI ¶
type LoreBranchUnprotectArgsFFI struct {
/* Name of the branch */
Branch LoreString
}
func NewLoreBranchUnprotectArgs ¶
func NewLoreBranchUnprotectArgs(opts LoreBranchUnprotectArgs) (LoreBranchUnprotectArgsFFI, func())
type LoreBranchUnprotectEventData ¶
type LoreBranchUnprotectEventData struct {
/* Name of the unprotected branch. */
Name string
}
type LoreBranchUnprotectEventDataFFI ¶
type LoreBranchUnprotectEventDataFFI struct {
/* Name of the unprotected branch. */
Name LoreString
}
func (*LoreBranchUnprotectEventDataFFI) Clone ¶
func (e *LoreBranchUnprotectEventDataFFI) Clone() LoreBranchUnprotectEventData
type LoreBytes ¶
type LoreBytes = LoreBinary
type LoreBytesFFI ¶
type LoreBytesFFI = LoreBinaryFFI
type LoreCherryPickAbortBeginEventDataFFI ¶
type LoreCherryPickAbortBeginEventDataFFI struct {
/* Identifier of the staged revision being discarded. */
StateStagedRevision LoreHash
/* Identifier of the current revision being restored. */
StateCurrentRevision LoreHash
}
func (*LoreCherryPickAbortBeginEventDataFFI) Clone ¶
func (e *LoreCherryPickAbortBeginEventDataFFI) Clone() LoreCherryPickAbortBeginEventData
type LoreCherryPickAbortEndEventData ¶
type LoreCherryPickAbortEndEventData struct {
/* Unused placeholder field. */
Unused uint32
}
type LoreCherryPickAbortEndEventDataFFI ¶
type LoreCherryPickAbortEndEventDataFFI struct {
/* Unused placeholder field. */
Unused uint32
}
func (*LoreCherryPickAbortEndEventDataFFI) Clone ¶
func (e *LoreCherryPickAbortEndEventDataFFI) Clone() LoreCherryPickAbortEndEventData
type LoreCherryPickConflictFileEventData ¶
type LoreCherryPickConflictFileEventData struct {
/* Path of the file. */
Path string
}
type LoreCherryPickConflictFileEventDataFFI ¶
type LoreCherryPickConflictFileEventDataFFI struct {
/* Path of the file. */
Path LoreString
}
func (*LoreCherryPickConflictFileEventDataFFI) Clone ¶
func (e *LoreCherryPickConflictFileEventDataFFI) Clone() LoreCherryPickConflictFileEventData
type LoreCherryPickResolveFileEventData ¶
type LoreCherryPickResolveFileEventData struct {
/* Path of the file. */
Path string
}
type LoreCherryPickResolveFileEventDataFFI ¶
type LoreCherryPickResolveFileEventDataFFI struct {
/* Path of the file. */
Path LoreString
}
func (*LoreCherryPickResolveFileEventDataFFI) Clone ¶
func (e *LoreCherryPickResolveFileEventDataFFI) Clone() LoreCherryPickResolveFileEventData
type LoreCherryPickResolveRevisionEventData ¶
type LoreCherryPickResolveRevisionEventData struct {
/* Repository identifier. */
Repository LoreRepositoryId
/* Identifier of the revision. */
Revision LoreHash
}
type LoreCherryPickResolveRevisionEventDataFFI ¶
type LoreCherryPickResolveRevisionEventDataFFI struct {
/* Repository identifier. */
Repository LoreRepositoryId
/* Identifier of the revision. */
Revision LoreHash
}
type LoreCherryPickStartBeginEventData ¶
type LoreCherryPickStartBeginEventData struct {
/* Branch identifier. */
Branch LoreBranchId
/* Identifier of the revision being cherry-picked. */
Revision LoreHash
/* Number of the revision being cherry-picked. */
RevisionNumber uint64
}
type LoreCherryPickStartBeginEventDataFFI ¶
type LoreCherryPickStartBeginEventDataFFI struct {
/* Branch identifier. */
Branch LoreBranchId
/* Identifier of the revision being cherry-picked. */
Revision LoreHash
/* Number of the revision being cherry-picked. */
RevisionNumber uint64
}
func (*LoreCherryPickStartBeginEventDataFFI) Clone ¶
func (e *LoreCherryPickStartBeginEventDataFFI) Clone() LoreCherryPickStartBeginEventData
type LoreCherryPickStartEndEventData ¶
type LoreCherryPickStartEndEventData struct {
/* Progress statistics for the applied changes. */
Stats LoreRevisionSyncProgressEventData
/* Resulting revision hash signature. */
Signature LoreHash
/* Flag indicating the cherry-pick produced conflicts. */
HasConflicts bool
}
type LoreCherryPickStartEndEventDataFFI ¶
type LoreCherryPickStartEndEventDataFFI struct {
/* Progress statistics for the applied changes. */
Stats LoreRevisionSyncProgressEventDataFFI
/* Resulting revision hash signature. */
Signature LoreHash
/* Flag indicating the cherry-pick produced conflicts. */
HasConflicts uint8
}
func (*LoreCherryPickStartEndEventDataFFI) Clone ¶
func (e *LoreCherryPickStartEndEventDataFFI) Clone() LoreCherryPickStartEndEventData
type LoreCherryPickUnresolveFileEventData ¶
type LoreCherryPickUnresolveFileEventData struct {
/* Path of the file. */
Path string
}
type LoreCherryPickUnresolveFileEventDataFFI ¶
type LoreCherryPickUnresolveFileEventDataFFI struct {
/* Path of the file. */
Path LoreString
}
func (*LoreCherryPickUnresolveFileEventDataFFI) Clone ¶
func (e *LoreCherryPickUnresolveFileEventDataFFI) Clone() LoreCherryPickUnresolveFileEventData
type LoreCherryPickUnresolveRevisionEventData ¶
type LoreCherryPickUnresolveRevisionEventData struct {
/* Repository identifier. */
Repository LoreRepositoryId
/* Identifier of the revision. */
Revision LoreHash
}
type LoreCherryPickUnresolveRevisionEventDataFFI ¶
type LoreCherryPickUnresolveRevisionEventDataFFI struct {
/* Repository identifier. */
Repository LoreRepositoryId
/* Identifier of the revision. */
Revision LoreHash
}
type LoreCompactionBeginEventData ¶ added in v0.8.4
type LoreCompactionBeginEventData struct {
/* Store size in bytes the pass is reducing the store toward. */
TargetBytes uint64
}
type LoreCompactionBeginEventDataFFI ¶ added in v0.8.4
type LoreCompactionBeginEventDataFFI struct {
/* Store size in bytes the pass is reducing the store toward. */
TargetBytes uint64
}
func (*LoreCompactionBeginEventDataFFI) Clone ¶ added in v0.8.4
func (e *LoreCompactionBeginEventDataFFI) Clone() LoreCompactionBeginEventData
type LoreCompactionEndEventData ¶ added in v0.8.4
type LoreCompactionEndEventData struct {
/* Total bytes reclaimed across the pass. */
TotalCompactedBytes uint64
}
type LoreCompactionEndEventDataFFI ¶ added in v0.8.4
type LoreCompactionEndEventDataFFI struct {
/* Total bytes reclaimed across the pass. */
TotalCompactedBytes uint64
}
func (*LoreCompactionEndEventDataFFI) Clone ¶ added in v0.8.4
func (e *LoreCompactionEndEventDataFFI) Clone() LoreCompactionEndEventData
type LoreCompactionProgressEventData ¶ added in v0.8.4
type LoreCompactionProgressEventData struct {
/* Bytes reclaimed from this group. */
CompactedBytes uint64
}
type LoreCompactionProgressEventDataFFI ¶ added in v0.8.4
type LoreCompactionProgressEventDataFFI struct {
/* Bytes reclaimed from this group. */
CompactedBytes uint64
}
func (*LoreCompactionProgressEventDataFFI) Clone ¶ added in v0.8.4
func (e *LoreCompactionProgressEventDataFFI) Clone() LoreCompactionProgressEventData
type LoreCompleteEventData ¶
type LoreCompleteEventData struct {
/* The completion status code of the operation. */
Status int32
/* The error detail for the operation. The empty default detail on
success; the populated detail on failure. `#[serde(default)]` lets an
older payload that lacks this field deserialize: the detail then reads
back as the empty default with an empty trace list. */
Error LoreErrorDetail
}
type LoreCompleteEventDataFFI ¶
type LoreCompleteEventDataFFI struct {
/* The completion status code of the operation. */
Status int32
/* The error detail for the operation. The empty default detail on
success; the populated detail on failure. `#[serde(default)]` lets an
older payload that lacks this field deserialize: the detail then reads
back as the empty default with an empty trace list. */
Error LoreErrorDetailFFI
}
func (*LoreCompleteEventDataFFI) Clone ¶
func (e *LoreCompleteEventDataFFI) Clone() LoreCompleteEventData
type LoreContext ¶
type LoreContext struct {
Data [16]uint8
}
func (LoreContext) Clone ¶
func (c LoreContext) Clone() LoreContext
func (LoreContext) String ¶
func (c LoreContext) String() string
String returns the context as a lowercase hexadecimal string Implements fmt.Stringer interface
type LoreDependencyResolveBeginEventData ¶
type LoreDependencyResolveBeginEventData struct {
/* Number of root files resolution starts from. */
RootCount uint64
}
type LoreDependencyResolveBeginEventDataFFI ¶
type LoreDependencyResolveBeginEventDataFFI struct {
/* Number of root files resolution starts from. */
RootCount uint64
}
func (*LoreDependencyResolveBeginEventDataFFI) Clone ¶
func (e *LoreDependencyResolveBeginEventDataFFI) Clone() LoreDependencyResolveBeginEventData
type LoreDependencyResolveEndEventData ¶
type LoreDependencyResolveEndEventData struct {
/* Number of dependency edges that were resolved. */
ResolvedCount uint64
}
type LoreDependencyResolveEndEventDataFFI ¶
type LoreDependencyResolveEndEventDataFFI struct {
/* Number of dependency edges that were resolved. */
ResolvedCount uint64
}
func (*LoreDependencyResolveEndEventDataFFI) Clone ¶
func (e *LoreDependencyResolveEndEventDataFFI) Clone() LoreDependencyResolveEndEventData
type LoreDependencyResolveItemEventDataFFI ¶
type LoreDependencyResolveItemEventDataFFI struct {
/* Path of the file the dependency comes from. */
Source LoreString
/* Path of the file the dependency points to. */
Target LoreString
/* Tags on this dependency edge. */
Tags LoreStringArrayFFI
}
func (*LoreDependencyResolveItemEventDataFFI) Clone ¶
func (e *LoreDependencyResolveItemEventDataFFI) Clone() LoreDependencyResolveItemEventData
type LoreEndEventData ¶
type LoreEndEventData struct {
/* Placeholder field; carries no meaningful value. */
Unused uint32
}
type LoreEndEventDataFFI ¶
type LoreEndEventDataFFI struct {
/* Placeholder field; carries no meaningful value. */
Unused uint32
}
func (*LoreEndEventDataFFI) Clone ¶
func (e *LoreEndEventDataFFI) Clone() LoreEndEventData
type LoreErrorCode ¶
type LoreErrorCode int32
const ( LoreErrorCode_NONE LoreErrorCode = 0 LoreErrorCode_INVALID_ARGUMENTS LoreErrorCode = 1 LoreErrorCode_ADDRESS_NOT_FOUND LoreErrorCode = 2 LoreErrorCode_INTERNAL LoreErrorCode = 3 LoreErrorCode_SLOW_DOWN LoreErrorCode = 4 )
type LoreErrorDetail ¶ added in v0.8.4
type LoreErrorDetail struct {
/* The error's error code. `0` on success; `-1` for an internal error. */
ErrorCode int32
/* The error message, taken from the error's `Display` output. Empty on
success. */
Message string
/* The captured trace, one location per trace entry. Empty when
`track-locations` is off or the error carries no trace. */
TraceLocations LoreTraceLocationArray
}
type LoreErrorDetailFFI ¶ added in v0.8.4
type LoreErrorDetailFFI struct {
/* The error's error code. `0` on success; `-1` for an internal error. */
ErrorCode int32
/* The error message, taken from the error's `Display` output. Empty on
success. */
Message LoreString
/* The captured trace, one location per trace entry. Empty when
`track-locations` is off or the error carries no trace. */
TraceLocations LoreTraceLocationArrayFFI
}
func NewLoreErrorDetail ¶ added in v0.8.4
func NewLoreErrorDetail(opts LoreErrorDetail) (LoreErrorDetailFFI, func())
func (*LoreErrorDetailFFI) Clone ¶ added in v0.8.4
func (e *LoreErrorDetailFFI) Clone() LoreErrorDetail
type LoreErrorEventData ¶
type LoreErrorEventDataFFI ¶
type LoreErrorEventDataFFI struct {
/* The error code, matching one of the error codes. */
ErrorType uint32
/* The underlying error message. */
ErrorInner LoreString
}
func (*LoreErrorEventDataFFI) Clone ¶
func (e *LoreErrorEventDataFFI) Clone() LoreErrorEventData
type LoreEvent ¶
type LoreEvent struct {
Tag LoreEventTag
Data any
}
LoreEvent is a Go-native event (safe to keep after callback)
type LoreEventCallback ¶
type LoreEventCallback func(*LoreEventFFI, uint64)
The user's callback function type The event pointer is only valid during the callback
type LoreEventCallbackConfig ¶
type LoreEventCallbackConfig struct {
Callback LoreEventCallback
UserContext uint64 // Optional user-provided context value
}
LoreEventCallbackConfig configures the event callback
type LoreEventCallbackConfigFFI ¶
LoreEventCallbackConfigFFI is a C-compatible representation of lore_event_callback_config_t
type LoreEventFFI ¶
type LoreEventFFI struct {
Tag LoreEventTag
// contains filtered or unexported fields
}
LoreEventFFI is a C-compatible representation of lore_event_t Only valid during the callback
func (*LoreEventFFI) Clone ¶
func (e *LoreEventFFI) Clone() LoreEvent
Clone creates a Go-native copy of the event data This copy is safe to keep after the callback returns
func (*LoreEventFFI) GetData ¶
func (e *LoreEventFFI) GetData() any
type LoreEventTag ¶
type LoreEventTag int32
const ( LoreEventTag_PROGRESS LoreEventTag = 0 LoreEventTag_ERROR LoreEventTag = 1 LoreEventTag_COMPLETE LoreEventTag = 2 LoreEventTag_METADATA LoreEventTag = 3 LoreEventTag_LOG LoreEventTag = 4 LoreEventTag_END LoreEventTag = 5 LoreEventTag_MAINTENANCE LoreEventTag = 6 LoreEventTag_AUTH_URL LoreEventTag = 7 LoreEventTag_AUTH_USER_INFO LoreEventTag = 8 LoreEventTag_AUTH_USER_TOKEN LoreEventTag = 9 LoreEventTag_AUTH_IDENTITY LoreEventTag = 10 LoreEventTag_BRANCH_CREATE LoreEventTag = 11 LoreEventTag_BRANCH_MULTIPLE_INSTANCE LoreEventTag = 12 LoreEventTag_BRANCH_ARCHIVE LoreEventTag = 13 LoreEventTag_BRANCH_LIST_BEGIN LoreEventTag = 14 LoreEventTag_BRANCH_LIST_ENTRY LoreEventTag = 15 LoreEventTag_BRANCH_LIST_END LoreEventTag = 16 LoreEventTag_BRANCH_MERGE_ABORT_BEGIN LoreEventTag = 17 LoreEventTag_BRANCH_MERGE_ABORT_END LoreEventTag = 18 LoreEventTag_BRANCH_INFO LoreEventTag = 19 LoreEventTag_BRANCH_DIFF_BEGIN LoreEventTag = 20 LoreEventTag_BRANCH_DIFF_CHANGE_BEGIN LoreEventTag = 21 LoreEventTag_BRANCH_DIFF_CHANGE LoreEventTag = 22 LoreEventTag_BRANCH_DIFF_CHANGE_END LoreEventTag = 23 LoreEventTag_BRANCH_DIFF_CONFLICT_BEGIN LoreEventTag = 24 LoreEventTag_BRANCH_DIFF_CONFLICT LoreEventTag = 25 LoreEventTag_BRANCH_DIFF_CONFLICT_END LoreEventTag = 26 LoreEventTag_BRANCH_DIFF_END LoreEventTag = 27 LoreEventTag_BRANCH_LATEST_LIST_ENTRY LoreEventTag = 28 LoreEventTag_BRANCH_MERGE_CONFLICT_FILE LoreEventTag = 29 LoreEventTag_BRANCH_MERGE_LINK_SKIPPED LoreEventTag = 30 LoreEventTag_BRANCH_MERGE_UNRESOLVE_FILE LoreEventTag = 31 LoreEventTag_BRANCH_MERGE_UNRESOLVE_REVISION LoreEventTag = 32 LoreEventTag_BRANCH_MERGE_INTO_FILE_BEGIN LoreEventTag = 33 LoreEventTag_BRANCH_MERGE_INTO_FILE LoreEventTag = 34 LoreEventTag_BRANCH_MERGE_INTO_FILE_END LoreEventTag = 35 LoreEventTag_BRANCH_MERGE_INTO_FRAGMENT_BEGIN LoreEventTag = 36 LoreEventTag_BRANCH_MERGE_INTO_FRAGMENT_PROGRESS LoreEventTag = 37 LoreEventTag_BRANCH_MERGE_INTO_FRAGMENT_END LoreEventTag = 38 LoreEventTag_BRANCH_MERGE_INTO_REVISION LoreEventTag = 39 LoreEventTag_BRANCH_MERGE_INTO_SYNC_BEGIN LoreEventTag = 40 LoreEventTag_BRANCH_MERGE_INTO_SYNC_END LoreEventTag = 41 LoreEventTag_BRANCH_MERGE_RESOLVE_FILE LoreEventTag = 42 LoreEventTag_BRANCH_MERGE_RESOLVE_REVISION LoreEventTag = 43 LoreEventTag_BRANCH_MERGE_START_BEGIN LoreEventTag = 44 LoreEventTag_BRANCH_MERGE_START_END LoreEventTag = 45 LoreEventTag_CHERRY_PICK_START_BEGIN LoreEventTag = 46 LoreEventTag_CHERRY_PICK_START_END LoreEventTag = 47 LoreEventTag_CHERRY_PICK_ABORT_BEGIN LoreEventTag = 48 LoreEventTag_CHERRY_PICK_ABORT_END LoreEventTag = 49 LoreEventTag_CHERRY_PICK_CONFLICT_FILE LoreEventTag = 50 LoreEventTag_CHERRY_PICK_UNRESOLVE_FILE LoreEventTag = 51 LoreEventTag_CHERRY_PICK_UNRESOLVE_REVISION LoreEventTag = 52 LoreEventTag_CHERRY_PICK_RESOLVE_FILE LoreEventTag = 53 LoreEventTag_CHERRY_PICK_RESOLVE_REVISION LoreEventTag = 54 LoreEventTag_REVERT_START_BEGIN LoreEventTag = 55 LoreEventTag_REVERT_START_END LoreEventTag = 56 LoreEventTag_REVERT_ABORT_BEGIN LoreEventTag = 57 LoreEventTag_REVERT_ABORT_END LoreEventTag = 58 LoreEventTag_REVERT_RESOLVE_FILE LoreEventTag = 59 LoreEventTag_REVERT_RESOLVE_REVISION LoreEventTag = 60 LoreEventTag_REVERT_CONFLICT_FILE LoreEventTag = 61 LoreEventTag_REVERT_UNRESOLVE_FILE LoreEventTag = 62 LoreEventTag_REVERT_UNRESOLVE_REVISION LoreEventTag = 63 LoreEventTag_BRANCH_PROTECT LoreEventTag = 64 LoreEventTag_BRANCH_PUSH LoreEventTag = 65 LoreEventTag_BRANCH_PUSH_REVISION_UPDATE_BEGIN LoreEventTag = 66 LoreEventTag_BRANCH_PUSH_REVISION_UPDATE_END LoreEventTag = 67 LoreEventTag_BRANCH_PUSH_FRAGMENT_BEGIN LoreEventTag = 68 LoreEventTag_BRANCH_PUSH_FRAGMENT_PROGRESS LoreEventTag = 69 LoreEventTag_BRANCH_PUSH_FRAGMENT_END LoreEventTag = 70 LoreEventTag_BRANCH_PUSH_BRANCH_CREATE_BEGIN LoreEventTag = 71 LoreEventTag_BRANCH_PUSH_BRANCH_CREATE_END LoreEventTag = 72 LoreEventTag_BRANCH_PUSH_REVISION_PUSH_BEGIN LoreEventTag = 73 LoreEventTag_BRANCH_PUSH_REVISION_PUSH_UPDATE LoreEventTag = 74 LoreEventTag_BRANCH_PUSH_REVISION_PUSH_END LoreEventTag = 75 LoreEventTag_BRANCH_RESET LoreEventTag = 76 LoreEventTag_BRANCH_SWITCH_BEGIN LoreEventTag = 77 LoreEventTag_BRANCH_SWITCH_END LoreEventTag = 78 LoreEventTag_BRANCH_UNPROTECT LoreEventTag = 79 LoreEventTag_FILE_INFO LoreEventTag = 80 LoreEventTag_FILE_DIFF LoreEventTag = 81 LoreEventTag_FILE_HASH LoreEventTag = 82 LoreEventTag_FILE_HISTORY LoreEventTag = 83 LoreEventTag_FILE_WRITE LoreEventTag = 84 LoreEventTag_FILE_OBLITERATE LoreEventTag = 85 LoreEventTag_FILE_DUMP LoreEventTag = 86 LoreEventTag_FILE_DEPENDENCY_ADD_BEGIN LoreEventTag = 87 LoreEventTag_FILE_DEPENDENCY_ADD_ENTRY LoreEventTag = 88 LoreEventTag_FILE_DEPENDENCY_ADD_END LoreEventTag = 89 LoreEventTag_FILE_DEPENDENCY_REMOVE_BEGIN LoreEventTag = 90 LoreEventTag_FILE_DEPENDENCY_REMOVE_ENTRY LoreEventTag = 91 LoreEventTag_FILE_DEPENDENCY_REMOVE_END LoreEventTag = 92 LoreEventTag_FILE_DEPENDENCY_LIST_BEGIN LoreEventTag = 93 LoreEventTag_FILE_DEPENDENCY_LIST_FILE LoreEventTag = 94 LoreEventTag_FILE_DEPENDENCY_LIST_ENTRY LoreEventTag = 95 LoreEventTag_FILE_DEPENDENCY_LIST_FILE_END LoreEventTag = 96 LoreEventTag_FILE_DEPENDENCY_LIST_END LoreEventTag = 97 LoreEventTag_FILE_RESET_BEGIN LoreEventTag = 98 LoreEventTag_FILE_RESET_PROGRESS LoreEventTag = 99 LoreEventTag_FILE_RESET_END LoreEventTag = 100 LoreEventTag_FILE_RESET_FILE LoreEventTag = 101 LoreEventTag_FILTER_EXCLUDE LoreEventTag = 102 LoreEventTag_FILE_STAGE_BEGIN LoreEventTag = 103 LoreEventTag_FILE_STAGE_PROGRESS LoreEventTag = 104 LoreEventTag_FILE_STAGE_END LoreEventTag = 105 LoreEventTag_FILE_STAGE_REVISION LoreEventTag = 106 LoreEventTag_FILE_STAGE_FILE LoreEventTag = 107 LoreEventTag_FILE_UNSTAGE_BEGIN LoreEventTag = 108 LoreEventTag_FILE_UNSTAGE_PROGRESS LoreEventTag = 109 LoreEventTag_FILE_UNSTAGE_END LoreEventTag = 110 LoreEventTag_FILE_UNSTAGE_REVISION LoreEventTag = 111 LoreEventTag_FILE_UNSTAGE_FILE LoreEventTag = 112 LoreEventTag_FRAGMENT_WRITE LoreEventTag = 113 LoreEventTag_LAYER_ADD LoreEventTag = 114 LoreEventTag_LAYER_ENTRY LoreEventTag = 115 LoreEventTag_LAYER_REMOVE LoreEventTag = 116 LoreEventTag_LAYER_STAGED_ENTRY LoreEventTag = 117 LoreEventTag_LINK_BRANCH_CREATE LoreEventTag = 118 LoreEventTag_LINK_CHANGE LoreEventTag = 119 LoreEventTag_LINK_ENTRY LoreEventTag = 120 LoreEventTag_LINK_INFO LoreEventTag = 121 LoreEventTag_LOCK_FILE_ACQUIRE_BEGIN LoreEventTag = 122 LoreEventTag_LOCK_FILE_ACQUIRE LoreEventTag = 123 LoreEventTag_LOCK_FILE_STATUS_BEGIN LoreEventTag = 124 LoreEventTag_LOCK_FILE_STATUS LoreEventTag = 125 LoreEventTag_LOCK_FILE_QUERY_BEGIN LoreEventTag = 126 LoreEventTag_LOCK_FILE_QUERY LoreEventTag = 127 LoreEventTag_LOCK_FILE_RELEASE_BEGIN LoreEventTag = 128 LoreEventTag_LOCK_FILE_RELEASE LoreEventTag = 129 LoreEventTag_METADATA_CLEAR_FILE LoreEventTag = 130 LoreEventTag_METADATA_CLEAR_REVISION LoreEventTag = 131 LoreEventTag_PATH_IGNORE LoreEventTag = 132 LoreEventTag_REPOSITORY_CREATE LoreEventTag = 133 LoreEventTag_REPOSITORY_CLONE_BEGIN LoreEventTag = 134 LoreEventTag_REPOSITORY_CLONE_PROGRESS LoreEventTag = 135 LoreEventTag_REPOSITORY_CLONE_END LoreEventTag = 136 LoreEventTag_DEPENDENCY_RESOLVE_BEGIN LoreEventTag = 137 LoreEventTag_DEPENDENCY_RESOLVE_ITEM LoreEventTag = 138 LoreEventTag_DEPENDENCY_RESOLVE_END LoreEventTag = 139 LoreEventTag_REPOSITORY_DATA LoreEventTag = 140 LoreEventTag_REPOSITORY_CONFIG_GET LoreEventTag = 141 LoreEventTag_REPOSITORY_DUMP_BEGIN LoreEventTag = 142 LoreEventTag_REPOSITORY_DUMP_END LoreEventTag = 143 LoreEventTag_REPOSITORY_LIST_ENTRY LoreEventTag = 144 LoreEventTag_REPOSITORY_INSTANCE LoreEventTag = 145 LoreEventTag_REPOSITORY_VERIFY_STATE_BEGIN LoreEventTag = 146 LoreEventTag_REPOSITORY_VERIFY_STATE_END LoreEventTag = 147 LoreEventTag_REPOSITORY_VERIFY_FRAGMENT LoreEventTag = 148 LoreEventTag_REPOSITORY_VERIFY_FRAGMENT_MATCH LoreEventTag = 149 LoreEventTag_REPOSITORY_VERIFY_FRAGMENT_REMOTE LoreEventTag = 150 LoreEventTag_REPOSITORY_STATE_DUMP LoreEventTag = 151 LoreEventTag_REPOSITORY_STATE_DUMP_NODE LoreEventTag = 152 LoreEventTag_REPOSITORY_STATUS_REVISION LoreEventTag = 153 LoreEventTag_REPOSITORY_STATUS_FILE LoreEventTag = 154 LoreEventTag_REPOSITORY_STATUS_COUNT LoreEventTag = 155 LoreEventTag_REPOSITORY_STATUS_SUMMARY LoreEventTag = 156 LoreEventTag_REPOSITORY_STORE_IMMUTABLE_QUERY LoreEventTag = 157 LoreEventTag_REVISION_COMMIT_BEGIN LoreEventTag = 158 LoreEventTag_REVISION_COMMIT_PROGRESS LoreEventTag = 159 LoreEventTag_REVISION_COMMIT_END LoreEventTag = 160 LoreEventTag_REVISION_COMMIT_REVISION LoreEventTag = 161 LoreEventTag_REVISION_INFO LoreEventTag = 162 LoreEventTag_REVISION_INFO_DELTA LoreEventTag = 163 LoreEventTag_REVISION_DIFF_FILE LoreEventTag = 164 LoreEventTag_REVISION_FIND LoreEventTag = 165 LoreEventTag_REVISION_HISTORY LoreEventTag = 166 LoreEventTag_REVISION_HISTORY_ENTRY LoreEventTag = 167 LoreEventTag_REVISION_RESTORE_FILE_BEGIN LoreEventTag = 168 LoreEventTag_REVISION_RESTORE_FILE LoreEventTag = 169 LoreEventTag_REVISION_RESTORE_FILE_END LoreEventTag = 170 LoreEventTag_REVISION_RESTORE_FRAGMENT_BEGIN LoreEventTag = 171 LoreEventTag_REVISION_RESTORE_FRAGMENT_PROGRESS LoreEventTag = 172 LoreEventTag_REVISION_RESTORE_FRAGMENT_END LoreEventTag = 173 LoreEventTag_REVISION_RESTORE_REVISION LoreEventTag = 174 LoreEventTag_REVISION_RESTORE_SYNC_BEGIN LoreEventTag = 175 LoreEventTag_REVISION_RESTORE_SYNC_END LoreEventTag = 176 LoreEventTag_REVISION_RESOLVE LoreEventTag = 177 LoreEventTag_REVISION_SYNC_TARGET LoreEventTag = 178 LoreEventTag_REVISION_SYNC_FILE LoreEventTag = 179 LoreEventTag_REVISION_SYNC_PROGRESS LoreEventTag = 180 LoreEventTag_REVISION_SYNC_REVISION LoreEventTag = 181 LoreEventTag_REVISION_BISECT LoreEventTag = 182 LoreEventTag_NOTIFICATION_BRANCH_CREATED LoreEventTag = 183 LoreEventTag_NOTIFICATION_BRANCH_DELETED LoreEventTag = 184 LoreEventTag_NOTIFICATION_BRANCH_PUSHED LoreEventTag = 185 LoreEventTag_NOTIFICATION_RESOURCE_LOCKED LoreEventTag = 186 LoreEventTag_NOTIFICATION_RESOURCE_UNLOCKED LoreEventTag = 187 LoreEventTag_NOTIFICATION_SUBSCRIBED LoreEventTag = 188 LoreEventTag_NOTIFICATION_UNSUBSCRIBED LoreEventTag = 189 LoreEventTag_SHARED_STORE_CREATE LoreEventTag = 190 LoreEventTag_SHARED_STORE_INFO LoreEventTag = 191 LoreEventTag_LINK_STAGED_ENTRY LoreEventTag = 192 LoreEventTag_STORAGE_OPENED LoreEventTag = 193 LoreEventTag_STORAGE_PUT_ITEM_COMPLETE LoreEventTag = 194 LoreEventTag_STORAGE_GET_HEADER LoreEventTag = 195 LoreEventTag_STORAGE_GET_DATA LoreEventTag = 196 LoreEventTag_STORAGE_GET_ITEM_COMPLETE LoreEventTag = 197 LoreEventTag_STORAGE_GET_METADATA_ITEM_COMPLETE LoreEventTag = 198 LoreEventTag_STORAGE_COPY_ITEM_COMPLETE LoreEventTag = 199 LoreEventTag_STORAGE_OBLITERATE_ITEM_COMPLETE LoreEventTag = 200 LoreEventTag_STORAGE_UPLOAD_ITEM_COMPLETE LoreEventTag = 201 LoreEventTag_REVISION_TREE_LOADED LoreEventTag = 202 LoreEventTag_REVISION_TREE_RESOLVE_PATH_COMPLETE LoreEventTag = 203 LoreEventTag_REVISION_TREE_CHILD LoreEventTag = 204 LoreEventTag_REVISION_TREE_NODE_INFO LoreEventTag = 205 LoreEventTag_REVISION_TREE_NODE_PATH LoreEventTag = 206 LoreEventTag_REVISION_TREE_ADD_COMPLETE LoreEventTag = 207 LoreEventTag_REVISION_TREE_DELETE_COMPLETE LoreEventTag = 208 LoreEventTag_REVISION_TREE_MODIFY_COMPLETE LoreEventTag = 209 LoreEventTag_REVISION_TREE_MOVE_COMPLETE LoreEventTag = 210 LoreEventTag_REVISION_TREE_METADATA_SET_COMPLETE LoreEventTag = 211 LoreEventTag_REVISION_TREE_METADATA_GET_COMPLETE LoreEventTag = 212 LoreEventTag_REVISION_TREE_COMMIT_COMPLETE LoreEventTag = 213 LoreEventTag_REVISION_TREE_CLOSE_COMPLETE LoreEventTag = 214 LoreEventTag_REVISION_TREE_LIST_CHILDREN_BEGIN LoreEventTag = 215 LoreEventTag_REVISION_TREE_INFO LoreEventTag = 216 LoreEventTag_STORAGE_MUTABLE_LOAD_ITEM_COMPLETE LoreEventTag = 217 LoreEventTag_STORAGE_MUTABLE_STORE_ITEM_COMPLETE LoreEventTag = 218 LoreEventTag_STORAGE_MUTABLE_COMPARE_AND_SWAP_ITEM_COMPLETE LoreEventTag = 219 LoreEventTag_STORAGE_MUTABLE_LIST_ENTRY LoreEventTag = 220 LoreEventTag_STORAGE_MUTABLE_LIST_ITEM_COMPLETE LoreEventTag = 221 LoreEventTag_EVICTION_BEGIN LoreEventTag = 222 LoreEventTag_EVICTION_PROGRESS LoreEventTag = 223 LoreEventTag_EVICTION_END LoreEventTag = 224 LoreEventTag_COMPACTION_BEGIN LoreEventTag = 225 LoreEventTag_COMPACTION_PROGRESS LoreEventTag = 226 LoreEventTag_COMPACTION_END LoreEventTag = 227 LoreEventTag_REVISION_TREE_BATCH_COMPLETE LoreEventTag = 228 LoreEventTag_REVISION_TREE_METADATA_CLEAR_COMPLETE LoreEventTag = 229 )
type LoreEvictionBeginEventData ¶ added in v0.8.4
type LoreEvictionBeginEventData struct {
/* Fragment capacity the pass is reducing the store toward. */
TargetFragments uint64
}
type LoreEvictionBeginEventDataFFI ¶ added in v0.8.4
type LoreEvictionBeginEventDataFFI struct {
/* Fragment capacity the pass is reducing the store toward. */
TargetFragments uint64
}
func (*LoreEvictionBeginEventDataFFI) Clone ¶ added in v0.8.4
func (e *LoreEvictionBeginEventDataFFI) Clone() LoreEvictionBeginEventData
type LoreEvictionEndEventData ¶ added in v0.8.4
type LoreEvictionEndEventData struct {
/* Total fragments evicted across the pass. */
TotalEvicted uint64
}
type LoreEvictionEndEventDataFFI ¶ added in v0.8.4
type LoreEvictionEndEventDataFFI struct {
/* Total fragments evicted across the pass. */
TotalEvicted uint64
}
func (*LoreEvictionEndEventDataFFI) Clone ¶ added in v0.8.4
func (e *LoreEvictionEndEventDataFFI) Clone() LoreEvictionEndEventData
type LoreEvictionProgressEventData ¶ added in v0.8.4
type LoreEvictionProgressEventData struct {
/* Fragments evicted from this bucket. */
Evicted uint64
}
type LoreEvictionProgressEventDataFFI ¶ added in v0.8.4
type LoreEvictionProgressEventDataFFI struct {
/* Fragments evicted from this bucket. */
Evicted uint64
}
func (*LoreEvictionProgressEventDataFFI) Clone ¶ added in v0.8.4
func (e *LoreEvictionProgressEventDataFFI) Clone() LoreEvictionProgressEventData
type LoreFileAction ¶
type LoreFileAction int32
const ( LoreFileAction_KEEP LoreFileAction = 0 LoreFileAction_ADD LoreFileAction = 1 LoreFileAction_DELETE LoreFileAction = 2 LoreFileAction_MOVE LoreFileAction = 3 LoreFileAction_COPY LoreFileAction = 4 )
type LoreFileDependencyAddArgs ¶
type LoreFileDependencyAddArgs struct {
/* Source file paths that will have dependencies added. */
Paths []string
/* Dependency target file paths (flat array). */
Dependencies []string
/* Tags to apply to the added dependencies (flat array). */
Tags []string
/* Number of dependencies per source file path. */
DepCounts LoreUint32Array
/* Number of tags per dependency entry. */
TagCounts LoreUint32Array
/* Skip cycle detection. */
Force bool
}
type LoreFileDependencyAddArgsFFI ¶
type LoreFileDependencyAddArgsFFI struct {
/* Source file paths that will have dependencies added. */
Paths LoreStringArrayFFI
/* Dependency target file paths (flat array). */
Dependencies LoreStringArrayFFI
/* Tags to apply to the added dependencies (flat array). */
Tags LoreStringArrayFFI
/* Number of dependencies per source file path. */
DepCounts LoreUint32ArrayFFI
/* Number of tags per dependency entry. */
TagCounts LoreUint32ArrayFFI
/* Skip cycle detection. */
Force uint8
}
func NewLoreFileDependencyAddArgs ¶
func NewLoreFileDependencyAddArgs(opts LoreFileDependencyAddArgs) (LoreFileDependencyAddArgsFFI, func())
type LoreFileDependencyAddBeginEventDataFFI ¶
type LoreFileDependencyAddBeginEventDataFFI struct {
/* Number of source files being processed. */
PathCount uint64
/* Number of dependency edges being added. */
DependencyCount uint64
}
func (*LoreFileDependencyAddBeginEventDataFFI) Clone ¶
func (e *LoreFileDependencyAddBeginEventDataFFI) Clone() LoreFileDependencyAddBeginEventData
type LoreFileDependencyAddEndEventData ¶
type LoreFileDependencyAddEndEventData struct {
/* Number of dependency edges that were added. */
AddedCount uint64
}
type LoreFileDependencyAddEndEventDataFFI ¶
type LoreFileDependencyAddEndEventDataFFI struct {
/* Number of dependency edges that were added. */
AddedCount uint64
}
func (*LoreFileDependencyAddEndEventDataFFI) Clone ¶
func (e *LoreFileDependencyAddEndEventDataFFI) Clone() LoreFileDependencyAddEndEventData
type LoreFileDependencyAddEntryEventDataFFI ¶
type LoreFileDependencyAddEntryEventDataFFI struct {
/* Path of the source file that gains the dependency. */
Path LoreString
/* Path of the file being depended on. */
Dependency LoreString
/* Tags applied to this dependency edge. */
Tags LoreStringArrayFFI
}
func (*LoreFileDependencyAddEntryEventDataFFI) Clone ¶
func (e *LoreFileDependencyAddEntryEventDataFFI) Clone() LoreFileDependencyAddEntryEventData
type LoreFileDependencyListArgs ¶
type LoreFileDependencyListArgs struct {
/* Files to query. */
Paths []string
/* Revision to query at. */
Revision string
/* Follow transitive dependencies recursively. */
Recursive bool
/* Return dependents instead of dependencies. */
Reverse bool
/* Filter results by tags. */
Tags []string
/* Maximum recursion depth (0 = unlimited). */
DepthLimit uint32
}
type LoreFileDependencyListArgsFFI ¶
type LoreFileDependencyListArgsFFI struct {
/* Files to query. */
Paths LoreStringArrayFFI
/* Revision to query at. */
Revision LoreString
/* Follow transitive dependencies recursively. */
Recursive uint8
/* Return dependents instead of dependencies. */
Reverse uint8
/* Filter results by tags. */
Tags LoreStringArrayFFI
/* Maximum recursion depth (0 = unlimited). */
DepthLimit uint32
}
func NewLoreFileDependencyListArgs ¶
func NewLoreFileDependencyListArgs(opts LoreFileDependencyListArgs) (LoreFileDependencyListArgsFFI, func())
type LoreFileDependencyListBeginEventData ¶
type LoreFileDependencyListBeginEventData struct {
/* Number of files being listed. */
FileCount uint64
}
type LoreFileDependencyListBeginEventDataFFI ¶
type LoreFileDependencyListBeginEventDataFFI struct {
/* Number of files being listed. */
FileCount uint64
}
func (*LoreFileDependencyListBeginEventDataFFI) Clone ¶
func (e *LoreFileDependencyListBeginEventDataFFI) Clone() LoreFileDependencyListBeginEventData
type LoreFileDependencyListEndEventData ¶
type LoreFileDependencyListEndEventData struct {
/* Total number of dependency entries that were listed. */
TotalEntryCount uint64
}
type LoreFileDependencyListEndEventDataFFI ¶
type LoreFileDependencyListEndEventDataFFI struct {
/* Total number of dependency entries that were listed. */
TotalEntryCount uint64
}
func (*LoreFileDependencyListEndEventDataFFI) Clone ¶
func (e *LoreFileDependencyListEndEventDataFFI) Clone() LoreFileDependencyListEndEventData
type LoreFileDependencyListEntryEventDataFFI ¶
type LoreFileDependencyListEntryEventDataFFI struct {
/* Path of the dependency. */
Path LoreString
/* Tags on this dependency edge. */
Tags LoreStringArrayFFI
/* Traversal depth, zero for a direct dependency. */
Depth uint32
}
func (*LoreFileDependencyListEntryEventDataFFI) Clone ¶
func (e *LoreFileDependencyListEntryEventDataFFI) Clone() LoreFileDependencyListEntryEventData
type LoreFileDependencyListFileEndEventData ¶
type LoreFileDependencyListFileEndEventData struct {
/* Path of the file whose dependencies were listed. */
Path string
}
type LoreFileDependencyListFileEndEventDataFFI ¶
type LoreFileDependencyListFileEndEventDataFFI struct {
/* Path of the file whose dependencies were listed. */
Path LoreString
}
type LoreFileDependencyListFileEventDataFFI ¶
type LoreFileDependencyListFileEventDataFFI struct {
/* Path of the file whose dependencies are being listed. */
Path LoreString
/* Number of dependency entries for this file. */
EntryCount uint64
}
func (*LoreFileDependencyListFileEventDataFFI) Clone ¶
func (e *LoreFileDependencyListFileEventDataFFI) Clone() LoreFileDependencyListFileEventData
type LoreFileDependencyRemoveArgs ¶
type LoreFileDependencyRemoveArgs struct {
/* Source file paths to remove dependencies from. */
Paths []string
/* Dependency target paths to remove (flat array). */
Dependencies []string
/* Tags to remove. */
Tags []string
/* Number of dependencies per source file. */
DepCounts LoreUint32Array
/* Number of tags per dependency entry. */
TagCounts LoreUint32Array
}
type LoreFileDependencyRemoveArgsFFI ¶
type LoreFileDependencyRemoveArgsFFI struct {
/* Source file paths to remove dependencies from. */
Paths LoreStringArrayFFI
/* Dependency target paths to remove (flat array). */
Dependencies LoreStringArrayFFI
/* Tags to remove. */
Tags LoreStringArrayFFI
/* Number of dependencies per source file. */
DepCounts LoreUint32ArrayFFI
/* Number of tags per dependency entry. */
TagCounts LoreUint32ArrayFFI
}
func NewLoreFileDependencyRemoveArgs ¶
func NewLoreFileDependencyRemoveArgs(opts LoreFileDependencyRemoveArgs) (LoreFileDependencyRemoveArgsFFI, func())
type LoreFileDependencyRemoveBeginEventDataFFI ¶
type LoreFileDependencyRemoveBeginEventDataFFI struct {
/* Number of source files being processed. */
PathCount uint64
/* Number of dependency edges being removed. */
DependencyCount uint64
}
type LoreFileDependencyRemoveEndEventData ¶
type LoreFileDependencyRemoveEndEventData struct {
/* Number of dependency edges that were removed. */
RemovedCount uint64
}
type LoreFileDependencyRemoveEndEventDataFFI ¶
type LoreFileDependencyRemoveEndEventDataFFI struct {
/* Number of dependency edges that were removed. */
RemovedCount uint64
}
func (*LoreFileDependencyRemoveEndEventDataFFI) Clone ¶
func (e *LoreFileDependencyRemoveEndEventDataFFI) Clone() LoreFileDependencyRemoveEndEventData
type LoreFileDependencyRemoveEntryEventDataFFI ¶
type LoreFileDependencyRemoveEntryEventDataFFI struct {
/* Path of the source file that loses the dependency. */
Path LoreString
/* Path of the file that was depended on. */
Dependency LoreString
/* Tags on the dependency edge being removed. */
Tags LoreStringArrayFFI
}
type LoreFileDiffArgs ¶
type LoreFileDiffArgs struct {
/* An array of paths */
Paths []string
/* Source revision */
SourceRevision string
/* Target revision */
TargetRevision string
/* Produce three-way merge output with conflict markers */
Diff3 bool
/* Number of unchanged context lines per unified-diff hunk */
ContextLines uint32
/* Treat lines that differ only in trailing whitespace as equal */
IgnoreWhitespaceEol bool
/* Collapse runs of internal whitespace to a single space for comparison */
IgnoreWhitespaceInline bool
}
type LoreFileDiffArgsFFI ¶
type LoreFileDiffArgsFFI struct {
/* An array of paths */
Paths LoreStringArrayFFI
/* Source revision */
SourceRevision LoreString
/* Target revision */
TargetRevision LoreString
/* Produce three-way merge output with conflict markers */
Diff3 uint8
/* Number of unchanged context lines per unified-diff hunk */
ContextLines uint32
/* Treat lines that differ only in trailing whitespace as equal */
IgnoreWhitespaceEol uint8
/* Collapse runs of internal whitespace to a single space for comparison */
IgnoreWhitespaceInline uint8
}
func NewLoreFileDiffArgs ¶
func NewLoreFileDiffArgs(opts LoreFileDiffArgs) (LoreFileDiffArgsFFI, func())
type LoreFileDiffEventData ¶
type LoreFileDiffEventData struct {
/* Path of the file. */
Path string
/* Unified-diff text describing the change. */
Patch string
/* Action applied to the file. */
Action LoreFileAction
}
type LoreFileDiffEventDataFFI ¶
type LoreFileDiffEventDataFFI struct {
/* Path of the file. */
Path LoreString
/* Unified-diff text describing the change. */
Patch LoreString
/* Action applied to the file. */
Action LoreFileAction
}
func (*LoreFileDiffEventDataFFI) Clone ¶
func (e *LoreFileDiffEventDataFFI) Clone() LoreFileDiffEventData
type LoreFileDirtyArgs ¶
type LoreFileDirtyArgs struct {
/* An array of paths */
Paths []string
}
type LoreFileDirtyArgsFFI ¶
type LoreFileDirtyArgsFFI struct {
/* An array of paths */
Paths LoreStringArrayFFI
}
func NewLoreFileDirtyArgs ¶
func NewLoreFileDirtyArgs(opts LoreFileDirtyArgs) (LoreFileDirtyArgsFFI, func())
type LoreFileDirtyCopyArgs ¶
type LoreFileDirtyCopyArgsFFI ¶
type LoreFileDirtyCopyArgsFFI struct {
/* Source path of file */
FromPath LoreString
/* Destination path of copy */
ToPath LoreString
}
func NewLoreFileDirtyCopyArgs ¶
func NewLoreFileDirtyCopyArgs(opts LoreFileDirtyCopyArgs) (LoreFileDirtyCopyArgsFFI, func())
type LoreFileDirtyMoveArgs ¶
type LoreFileDirtyMoveArgsFFI ¶
type LoreFileDirtyMoveArgsFFI struct {
/* Original path of file */
FromPath LoreString
/* New path of file */
ToPath LoreString
}
func NewLoreFileDirtyMoveArgs ¶
func NewLoreFileDirtyMoveArgs(opts LoreFileDirtyMoveArgs) (LoreFileDirtyMoveArgsFFI, func())
type LoreFileDumpArgs ¶
type LoreFileDumpArgsFFI ¶
type LoreFileDumpArgsFFI struct {
/* Address of data to dump; takes precedence over `path` when non-empty */
Address LoreString
/* Repository path to dump; used when `address` is empty */
Path LoreString
}
func NewLoreFileDumpArgs ¶
func NewLoreFileDumpArgs(opts LoreFileDumpArgs) (LoreFileDumpArgsFFI, func())
type LoreFileDumpEventData ¶
type LoreFileDumpEventData struct {
/* Address of the content. */
Address LoreAddress
/* Flags describing the stored content. */
Flags uint32
/* Size of the stored payload in bytes. */
SizePayload uint32
/* Size of the content in bytes. */
SizeContent uint64
/* Set when a matching stored object was found. */
MatchMade bool
}
type LoreFileDumpEventDataFFI ¶
type LoreFileDumpEventDataFFI struct {
/* Address of the content. */
Address LoreAddress
/* Flags describing the stored content. */
Flags uint32
/* Size of the stored payload in bytes. */
SizePayload uint32
/* Size of the content in bytes. */
SizeContent uint64
/* Set when a matching stored object was found. */
MatchMade uint8
}
func (*LoreFileDumpEventDataFFI) Clone ¶
func (e *LoreFileDumpEventDataFFI) Clone() LoreFileDumpEventData
type LoreFileHashArgs ¶
type LoreFileHashArgs struct {
/* An array of paths */
Paths []string
}
type LoreFileHashArgsFFI ¶
type LoreFileHashArgsFFI struct {
/* An array of paths */
Paths LoreStringArrayFFI
}
func NewLoreFileHashArgs ¶
func NewLoreFileHashArgs(opts LoreFileHashArgs) (LoreFileHashArgsFFI, func())
type LoreFileHashEventData ¶
type LoreFileHashEventDataFFI ¶
type LoreFileHashEventDataFFI struct {
/* Path of the file. */
Path LoreString
/* Size of the file in bytes. */
Size uint64
/* Content hash of the file. */
Hash LoreHash
}
func (*LoreFileHashEventDataFFI) Clone ¶
func (e *LoreFileHashEventDataFFI) Clone() LoreFileHashEventData
type LoreFileHistoryArgs ¶
type LoreFileHistoryArgs struct {
/* A path to a file */
Path string
/* Optional revision specifier to start from */
Revision string
/* Restrict history to revisions on this branch */
Branch string
/* Number of revisions to list */
Length uint32
/* Number of revisions to search initially */
Depth uint32
}
type LoreFileHistoryArgsFFI ¶
type LoreFileHistoryArgsFFI struct {
/* A path to a file */
Path LoreString
/* Optional revision specifier to start from */
Revision LoreString
/* Restrict history to revisions on this branch */
Branch LoreString
/* Number of revisions to list */
Length uint32
/* Number of revisions to search initially */
Depth uint32
}
func NewLoreFileHistoryArgs ¶
func NewLoreFileHistoryArgs(opts LoreFileHistoryArgs) (LoreFileHistoryArgsFFI, func())
type LoreFileHistoryEventData ¶
type LoreFileHistoryEventData struct {
/* Path of the file. */
Path string
/* Identifier of the repository. */
Repository LoreRepositoryId
/* Revision this entry belongs to. */
Revision LoreHash
/* Sequential number of the revision. */
RevisionNumber uint64
/* Parent revisions of this revision. */
Parent [2]LoreHash
/* Address of the file content at this revision. */
Address LoreAddress
/* Size of the file in bytes at this revision. */
Size uint64
/* Action applied to the file at this revision. */
Action LoreFileAction
}
type LoreFileHistoryEventDataFFI ¶
type LoreFileHistoryEventDataFFI struct {
/* Path of the file. */
Path LoreString
/* Identifier of the repository. */
Repository LoreRepositoryId
/* Revision this entry belongs to. */
Revision LoreHash
/* Sequential number of the revision. */
RevisionNumber uint64
/* Parent revisions of this revision. */
Parent [2]LoreHash
/* Address of the file content at this revision. */
Address LoreAddress
/* Size of the file in bytes at this revision. */
Size uint64
/* Action applied to the file at this revision. */
Action LoreFileAction
}
func (*LoreFileHistoryEventDataFFI) Clone ¶
func (e *LoreFileHistoryEventDataFFI) Clone() LoreFileHistoryEventData
type LoreFileInfoArgs ¶
type LoreFileInfoArgsFFI ¶
type LoreFileInfoArgsFFI struct {
/* Array of paths */
Paths LoreStringArrayFFI
/* Revision to get info for */
Revision LoreString
/* Calculate the filtered local filesystem hash and size */
Local uint8
/* Calculate the filtered repository size */
Filtered uint8
}
func NewLoreFileInfoArgs ¶
func NewLoreFileInfoArgs(opts LoreFileInfoArgs) (LoreFileInfoArgsFFI, func())
type LoreFileInfoEventData ¶
type LoreFileInfoEventData struct {
/* Path of the file or directory. */
Path string
/* Context identifying the file or directory. */
Context LoreContext
/* Content hash of the file or directory. */
Hash LoreHash
/* Set when the entry is a file. */
IsFile bool
/* Set when the entry is a directory. */
IsDir bool
/* Set when the entry has been modified. */
FlagModified bool
/* Set when the entry has been deleted. */
FlagDeleted bool
/* Set when the entry has been added. */
FlagAdded bool
/* Set when the entry is in conflict. */
FlagConflict bool
/* File mode bits. */
Mode uint16
/* Size of the entry in the repository, in bytes. */
Size uint64
/* Size of the entry on the local filesystem, in bytes. */
LocalSize uint64
/* Content hash of the entry on the local filesystem. */
LocalHash LoreHash
/* Size of the entry after filters are applied, in bytes. */
FilterSize uint64
}
type LoreFileInfoEventDataFFI ¶
type LoreFileInfoEventDataFFI struct {
/* Path of the file or directory. */
Path LoreString
/* Context identifying the file or directory. */
Context LoreContext
/* Content hash of the file or directory. */
Hash LoreHash
/* Set when the entry is a file. */
IsFile uint8
/* Set when the entry is a directory. */
IsDir uint8
/* Set when the entry has been modified. */
FlagModified uint8
/* Set when the entry has been deleted. */
FlagDeleted uint8
/* Set when the entry has been added. */
FlagAdded uint8
/* Set when the entry is in conflict. */
FlagConflict uint8
/* File mode bits. */
Mode uint16
/* Size of the entry in the repository, in bytes. */
Size uint64
/* Size of the entry on the local filesystem, in bytes. */
LocalSize uint64
/* Content hash of the entry on the local filesystem. */
LocalHash LoreHash
/* Size of the entry after filters are applied, in bytes. */
FilterSize uint64
}
func (*LoreFileInfoEventDataFFI) Clone ¶
func (e *LoreFileInfoEventDataFFI) Clone() LoreFileInfoEventData
type LoreFileMetadataClearArgs ¶
type LoreFileMetadataClearArgs struct {
/* Which file to clear metadata for */
Path string
}
type LoreFileMetadataClearArgsFFI ¶
type LoreFileMetadataClearArgsFFI struct {
/* Which file to clear metadata for */
Path LoreString
}
func NewLoreFileMetadataClearArgs ¶
func NewLoreFileMetadataClearArgs(opts LoreFileMetadataClearArgs) (LoreFileMetadataClearArgsFFI, func())
type LoreFileMetadataGetArgs ¶
type LoreFileMetadataGetArgsFFI ¶
type LoreFileMetadataGetArgsFFI struct {
/* Revision to get metadata for */
Revision LoreString
/* Where to get metadata for */
Path LoreString
/* Metadata key */
Key LoreString
}
func NewLoreFileMetadataGetArgs ¶
func NewLoreFileMetadataGetArgs(opts LoreFileMetadataGetArgs) (LoreFileMetadataGetArgsFFI, func())
type LoreFileMetadataListArgsFFI ¶
type LoreFileMetadataListArgsFFI struct {
/* What to list metadata for */
Path LoreString
/* Revision to list metadata for */
Revision LoreString
}
func NewLoreFileMetadataListArgs ¶
func NewLoreFileMetadataListArgs(opts LoreFileMetadataListArgs) (LoreFileMetadataListArgsFFI, func())
type LoreFileMetadataSetArgs ¶
type LoreFileMetadataSetArgs struct {
/* An array of paths */
Paths []string
/* An array of keys */
Keys []string
/* An array of values */
Values []string
/* Pointer to an array of formats */
Formats LoreMetadataTypeArray
/* Pointer to an array of entry counts per path */
Entries LoreUint32Array
}
type LoreFileMetadataSetArgsFFI ¶
type LoreFileMetadataSetArgsFFI struct {
/* An array of paths */
Paths LoreStringArrayFFI
/* An array of keys */
Keys LoreStringArrayFFI
/* An array of values */
Values LoreStringArrayFFI
/* Pointer to an array of formats */
Formats LoreMetadataTypeArrayFFI
/* Pointer to an array of entry counts per path */
Entries LoreUint32ArrayFFI
}
func NewLoreFileMetadataSetArgs ¶
func NewLoreFileMetadataSetArgs(opts LoreFileMetadataSetArgs) (LoreFileMetadataSetArgsFFI, func())
type LoreFileObliterateArgs ¶
type LoreFileObliterateArgsFFI ¶
type LoreFileObliterateArgsFFI struct {
/* Address of data to obliterate; takes precedence over `path` when non-empty */
Address LoreString
/* Repository path to obliterate; used when `address` is empty */
Path LoreString
}
func NewLoreFileObliterateArgs ¶
func NewLoreFileObliterateArgs(opts LoreFileObliterateArgs) (LoreFileObliterateArgsFFI, func())
type LoreFileObliterateEventData ¶
type LoreFileObliterateEventData struct {
/* Address of the obliterated content. */
Address LoreAddress
/* Number of fragments removed. */
NumFragments uintptr
/* Number of payloads removed. */
NumPayloads uintptr
}
type LoreFileObliterateEventDataFFI ¶
type LoreFileObliterateEventDataFFI struct {
/* Address of the obliterated content. */
Address LoreAddress
/* Number of fragments removed. */
NumFragments uintptr
/* Number of payloads removed. */
NumPayloads uintptr
}
func (*LoreFileObliterateEventDataFFI) Clone ¶
func (e *LoreFileObliterateEventDataFFI) Clone() LoreFileObliterateEventData
type LoreFileResetArgs ¶
type LoreFileResetArgsFFI ¶
type LoreFileResetArgsFFI struct {
/* Pointer to an array of paths */
Paths LoreStringArrayFFI
/* Revision to reset files into */
Revision LoreString
/* Purge untracked files */
Purge uint8
}
func NewLoreFileResetArgs ¶
func NewLoreFileResetArgs(opts LoreFileResetArgs) (LoreFileResetArgsFFI, func())
type LoreFileResetBeginEventData ¶
type LoreFileResetBeginEventData struct {
/* Number of paths requested for reset. */
PathCount uintptr
}
type LoreFileResetBeginEventDataFFI ¶
type LoreFileResetBeginEventDataFFI struct {
/* Number of paths requested for reset. */
PathCount uintptr
}
func (*LoreFileResetBeginEventDataFFI) Clone ¶
func (e *LoreFileResetBeginEventDataFFI) Clone() LoreFileResetBeginEventData
type LoreFileResetCountData ¶
type LoreFileResetCountData struct {
/* Number of directories that were reset. */
DirectoryResetCount uint64
/* Number of directories that were deleted. */
DirectoryDeleteCount uint64
/* Number of files that were reset. */
FileResetCount uint64
/* Number of files that were deleted. */
FileDeleteCount uint64
}
type LoreFileResetCountDataFFI ¶
type LoreFileResetCountDataFFI struct {
/* Number of directories that were reset. */
DirectoryResetCount uint64
/* Number of directories that were deleted. */
DirectoryDeleteCount uint64
/* Number of files that were reset. */
FileResetCount uint64
/* Number of files that were deleted. */
FileDeleteCount uint64
}
func NewLoreFileResetCountData ¶
func NewLoreFileResetCountData(opts LoreFileResetCountData) (LoreFileResetCountDataFFI, func())
func (*LoreFileResetCountDataFFI) Clone ¶
func (e *LoreFileResetCountDataFFI) Clone() LoreFileResetCountData
type LoreFileResetEndEventData ¶
type LoreFileResetEndEventData struct {
/* Final counts of items processed. */
Count LoreFileResetCountData
}
type LoreFileResetEndEventDataFFI ¶
type LoreFileResetEndEventDataFFI struct {
/* Final counts of items processed. */
Count LoreFileResetCountDataFFI
}
func (*LoreFileResetEndEventDataFFI) Clone ¶
func (e *LoreFileResetEndEventDataFFI) Clone() LoreFileResetEndEventData
type LoreFileResetFileEventData ¶
type LoreFileResetFileEventData struct {
/* Path of the file. */
Path string
/* Action applied to the file. */
Action LoreFileAction
/* Previous path of the file, when it was moved. */
FromPath string
}
type LoreFileResetFileEventDataFFI ¶
type LoreFileResetFileEventDataFFI struct {
/* Path of the file. */
Path LoreString
/* Action applied to the file. */
Action LoreFileAction
/* Previous path of the file, when it was moved. */
FromPath LoreString
}
func (*LoreFileResetFileEventDataFFI) Clone ¶
func (e *LoreFileResetFileEventDataFFI) Clone() LoreFileResetFileEventData
type LoreFileResetProgressEventData ¶
type LoreFileResetProgressEventData struct {
/* Current counts of items processed. */
Count LoreFileResetCountData
}
type LoreFileResetProgressEventDataFFI ¶
type LoreFileResetProgressEventDataFFI struct {
/* Current counts of items processed. */
Count LoreFileResetCountDataFFI
}
func (*LoreFileResetProgressEventDataFFI) Clone ¶
func (e *LoreFileResetProgressEventDataFFI) Clone() LoreFileResetProgressEventData
type LoreFileResetToLastMergedArgsFFI ¶
type LoreFileResetToLastMergedArgsFFI struct {
/* Pointer to an array of paths */
Paths LoreStringArrayFFI
/* Branch whose last merged revision to reset to */
Branch LoreString
/* Purge untracked files */
Purge uint8
}
func NewLoreFileResetToLastMergedArgs ¶
func NewLoreFileResetToLastMergedArgs(opts LoreFileResetToLastMergedArgs) (LoreFileResetToLastMergedArgsFFI, func())
type LoreFileStageArgs ¶
type LoreFileStageArgsFFI ¶
type LoreFileStageArgsFFI struct {
/* An array of paths */
Paths LoreStringArrayFFI
/* Case change handling, 0 = error, 1 = update filesystem (keep), 2 = update repository (rename) */
CaseChange uint32
/* Force a recursive filesystem scan of directory paths (no effect on file paths) */
Scan uint8
}
func NewLoreFileStageArgs ¶
func NewLoreFileStageArgs(opts LoreFileStageArgs) (LoreFileStageArgsFFI, func())
type LoreFileStageBeginEventData ¶
type LoreFileStageBeginEventData struct {
/* Number of paths requested for staging. */
PathCount uintptr
}
type LoreFileStageBeginEventDataFFI ¶
type LoreFileStageBeginEventDataFFI struct {
/* Number of paths requested for staging. */
PathCount uintptr
}
func (*LoreFileStageBeginEventDataFFI) Clone ¶
func (e *LoreFileStageBeginEventDataFFI) Clone() LoreFileStageBeginEventData
type LoreFileStageCountData ¶
type LoreFileStageCountData struct {
/* Number of directories staged as modified. */
DirectoryModifyCount uint64
/* Number of directories staged as added. */
DirectoryAddCount uint64
/* Number of directories staged as deleted. */
DirectoryDeleteCount uint64
/* Number of directories staged as moved. */
DirectoryMoveCount uint64
/* Number of files staged as modified. */
FileModifyCount uint64
/* Number of files staged as added. */
FileAddCount uint64
/* Number of files staged as deleted. */
FileDeleteCount uint64
/* Number of files staged as moved. */
FileMoveCount uint64
/* Total number of items processed. */
TotalCount uint64
}
type LoreFileStageCountDataFFI ¶
type LoreFileStageCountDataFFI struct {
/* Number of directories staged as modified. */
DirectoryModifyCount uint64
/* Number of directories staged as added. */
DirectoryAddCount uint64
/* Number of directories staged as deleted. */
DirectoryDeleteCount uint64
/* Number of directories staged as moved. */
DirectoryMoveCount uint64
/* Number of files staged as modified. */
FileModifyCount uint64
/* Number of files staged as added. */
FileAddCount uint64
/* Number of files staged as deleted. */
FileDeleteCount uint64
/* Number of files staged as moved. */
FileMoveCount uint64
/* Total number of items processed. */
TotalCount uint64
}
func NewLoreFileStageCountData ¶
func NewLoreFileStageCountData(opts LoreFileStageCountData) (LoreFileStageCountDataFFI, func())
func (*LoreFileStageCountDataFFI) Clone ¶
func (e *LoreFileStageCountDataFFI) Clone() LoreFileStageCountData
type LoreFileStageEndEventData ¶
type LoreFileStageEndEventData struct {
/* Final counts of items processed. */
Count LoreFileStageCountData
}
type LoreFileStageEndEventDataFFI ¶
type LoreFileStageEndEventDataFFI struct {
/* Final counts of items processed. */
Count LoreFileStageCountDataFFI
}
func (*LoreFileStageEndEventDataFFI) Clone ¶
func (e *LoreFileStageEndEventDataFFI) Clone() LoreFileStageEndEventData
type LoreFileStageFileEventData ¶
type LoreFileStageFileEventData struct {
/* Previous path of the file, when it was moved. */
FromPath string
/* Path of the file. */
Path string
/* Action applied to the file. */
Action LoreFileAction
}
type LoreFileStageFileEventDataFFI ¶
type LoreFileStageFileEventDataFFI struct {
/* Previous path of the file, when it was moved. */
FromPath LoreString
/* Path of the file. */
Path LoreString
/* Action applied to the file. */
Action LoreFileAction
}
func (*LoreFileStageFileEventDataFFI) Clone ¶
func (e *LoreFileStageFileEventDataFFI) Clone() LoreFileStageFileEventData
type LoreFileStageMergeArgs ¶
type LoreFileStageMergeArgs struct {
/* Paths to files to stage as merge */
Paths []string
}
type LoreFileStageMergeArgsFFI ¶
type LoreFileStageMergeArgsFFI struct {
/* Paths to files to stage as merge */
Paths LoreStringArrayFFI
}
func NewLoreFileStageMergeArgs ¶
func NewLoreFileStageMergeArgs(opts LoreFileStageMergeArgs) (LoreFileStageMergeArgsFFI, func())
type LoreFileStageMoveArgs ¶
type LoreFileStageMoveArgsFFI ¶
type LoreFileStageMoveArgsFFI struct {
/* Original path of file */
FromPath LoreString
/* New path of file */
ToPath LoreString
}
func NewLoreFileStageMoveArgs ¶
func NewLoreFileStageMoveArgs(opts LoreFileStageMoveArgs) (LoreFileStageMoveArgsFFI, func())
type LoreFileStageProgressEventData ¶
type LoreFileStageProgressEventData struct {
/* Current counts of items processed. */
Count LoreFileStageCountData
}
type LoreFileStageProgressEventDataFFI ¶
type LoreFileStageProgressEventDataFFI struct {
/* Current counts of items processed. */
Count LoreFileStageCountDataFFI
}
func (*LoreFileStageProgressEventDataFFI) Clone ¶
func (e *LoreFileStageProgressEventDataFFI) Clone() LoreFileStageProgressEventData
type LoreFileStageRevisionEventData ¶
type LoreFileStageRevisionEventData struct {
/* Identifier of the repository. */
Repository LoreRepositoryId
/* Revision the files are staged against. */
Revision LoreHash
}
type LoreFileStageRevisionEventDataFFI ¶
type LoreFileStageRevisionEventDataFFI struct {
/* Identifier of the repository. */
Repository LoreRepositoryId
/* Revision the files are staged against. */
Revision LoreHash
}
func (*LoreFileStageRevisionEventDataFFI) Clone ¶
func (e *LoreFileStageRevisionEventDataFFI) Clone() LoreFileStageRevisionEventData
type LoreFileUnstageArgs ¶
type LoreFileUnstageArgs struct {
/* An array of paths */
Paths []string
}
type LoreFileUnstageArgsFFI ¶
type LoreFileUnstageArgsFFI struct {
/* An array of paths */
Paths LoreStringArrayFFI
}
func NewLoreFileUnstageArgs ¶
func NewLoreFileUnstageArgs(opts LoreFileUnstageArgs) (LoreFileUnstageArgsFFI, func())
type LoreFileUnstageBeginEventData ¶
type LoreFileUnstageBeginEventData struct {
/* Number of paths requested for unstaging. */
PathCount uintptr
}
type LoreFileUnstageBeginEventDataFFI ¶
type LoreFileUnstageBeginEventDataFFI struct {
/* Number of paths requested for unstaging. */
PathCount uintptr
}
func (*LoreFileUnstageBeginEventDataFFI) Clone ¶
func (e *LoreFileUnstageBeginEventDataFFI) Clone() LoreFileUnstageBeginEventData
type LoreFileUnstageCountData ¶
type LoreFileUnstageCountData struct {
/* Number of directories that were unstaged. */
DirectoryUnstagedCount uint64
/* Number of directories that were discarded. */
DirectoryDiscardedCount uint64
/* Number of files that were unstaged. */
FileUnstagedCount uint64
/* Number of files that were discarded. */
FileDiscardedCount uint64
/* Total number of items processed. */
TotalCount uint64
}
type LoreFileUnstageCountDataFFI ¶
type LoreFileUnstageCountDataFFI struct {
/* Number of directories that were unstaged. */
DirectoryUnstagedCount uint64
/* Number of directories that were discarded. */
DirectoryDiscardedCount uint64
/* Number of files that were unstaged. */
FileUnstagedCount uint64
/* Number of files that were discarded. */
FileDiscardedCount uint64
/* Total number of items processed. */
TotalCount uint64
}
func NewLoreFileUnstageCountData ¶
func NewLoreFileUnstageCountData(opts LoreFileUnstageCountData) (LoreFileUnstageCountDataFFI, func())
func (*LoreFileUnstageCountDataFFI) Clone ¶
func (e *LoreFileUnstageCountDataFFI) Clone() LoreFileUnstageCountData
type LoreFileUnstageEndEventData ¶
type LoreFileUnstageEndEventData struct {
/* Final counts of items processed. */
Count LoreFileUnstageCountData
}
type LoreFileUnstageEndEventDataFFI ¶
type LoreFileUnstageEndEventDataFFI struct {
/* Final counts of items processed. */
Count LoreFileUnstageCountDataFFI
}
func (*LoreFileUnstageEndEventDataFFI) Clone ¶
func (e *LoreFileUnstageEndEventDataFFI) Clone() LoreFileUnstageEndEventData
type LoreFileUnstageFileEventData ¶
type LoreFileUnstageFileEventData struct {
/* Path of the file. */
Path string
/* Action applied to the file. */
Action LoreFileAction
}
type LoreFileUnstageFileEventDataFFI ¶
type LoreFileUnstageFileEventDataFFI struct {
/* Path of the file. */
Path LoreString
/* Action applied to the file. */
Action LoreFileAction
}
func (*LoreFileUnstageFileEventDataFFI) Clone ¶
func (e *LoreFileUnstageFileEventDataFFI) Clone() LoreFileUnstageFileEventData
type LoreFileUnstageProgressEventData ¶
type LoreFileUnstageProgressEventData struct {
/* Current counts of items processed. */
Count LoreFileUnstageCountData
}
type LoreFileUnstageProgressEventDataFFI ¶
type LoreFileUnstageProgressEventDataFFI struct {
/* Current counts of items processed. */
Count LoreFileUnstageCountDataFFI
}
func (*LoreFileUnstageProgressEventDataFFI) Clone ¶
func (e *LoreFileUnstageProgressEventDataFFI) Clone() LoreFileUnstageProgressEventData
type LoreFileUnstageRevisionEventData ¶
type LoreFileUnstageRevisionEventData struct {
/* Identifier of the repository. */
Repository LoreRepositoryId
/* Revision the files are unstaged against. */
Revision LoreHash
}
type LoreFileUnstageRevisionEventDataFFI ¶
type LoreFileUnstageRevisionEventDataFFI struct {
/* Identifier of the repository. */
Repository LoreRepositoryId
/* Revision the files are unstaged against. */
Revision LoreHash
}
func (*LoreFileUnstageRevisionEventDataFFI) Clone ¶
func (e *LoreFileUnstageRevisionEventDataFFI) Clone() LoreFileUnstageRevisionEventData
type LoreFileWriteArgs ¶
type LoreFileWriteArgs struct {
/* Address of data to write; takes precedence over `path` when non-empty */
Address string
/* Repository path to the file; used when `address` is empty */
Path string
/* Revision of the file to write (used with `path`) */
Revision string
/* Destination filesystem path to write to */
Output string
}
type LoreFileWriteArgsFFI ¶
type LoreFileWriteArgsFFI struct {
/* Address of data to write; takes precedence over `path` when non-empty */
Address LoreString
/* Repository path to the file; used when `address` is empty */
Path LoreString
/* Revision of the file to write (used with `path`) */
Revision LoreString
/* Destination filesystem path to write to */
Output LoreString
}
func NewLoreFileWriteArgs ¶
func NewLoreFileWriteArgs(opts LoreFileWriteArgs) (LoreFileWriteArgsFFI, func())
type LoreFileWriteEventData ¶
type LoreFileWriteEventData struct {
/* Path that was written. */
Path string
}
type LoreFileWriteEventDataFFI ¶
type LoreFileWriteEventDataFFI struct {
/* Path that was written. */
Path LoreString
}
func (*LoreFileWriteEventDataFFI) Clone ¶
func (e *LoreFileWriteEventDataFFI) Clone() LoreFileWriteEventData
type LoreFilterExcludeEventDataFFI ¶
type LoreFilterExcludeEventDataFFI struct {
/* Reason the path was excluded. */
Reason uint8
/* Path that was excluded. */
Path LoreString
}
func (*LoreFilterExcludeEventDataFFI) Clone ¶
func (e *LoreFilterExcludeEventDataFFI) Clone() LoreFilterExcludeEventData
type LoreFragment ¶
type LoreFragmentFFI ¶
type LoreFragmentFFI struct {
/* Flags */
Flags uint32
/* Payload size */
SizePayload uint32
/* Size of the uncompressed and reassembled content */
SizeContent uint64
}
func NewLoreFragment ¶
func NewLoreFragment(opts LoreFragment) (LoreFragmentFFI, func())
func (*LoreFragmentFFI) Clone ¶
func (e *LoreFragmentFFI) Clone() LoreFragment
type LoreFragmentWriteEventData ¶
type LoreFragmentWriteEventData struct {
/* The fragment that was written */
Fragment LoreFragment
/* Non-zero if the fragment already existed and was deduplicated */
Deduplicated bool
}
type LoreFragmentWriteEventDataFFI ¶
type LoreFragmentWriteEventDataFFI struct {
/* The fragment that was written */
Fragment LoreFragmentFFI
/* Non-zero if the fragment already existed and was deduplicated */
Deduplicated uint8
}
func (*LoreFragmentWriteEventDataFFI) Clone ¶
func (e *LoreFragmentWriteEventDataFFI) Clone() LoreFragmentWriteEventData
type LoreGlobalArgs ¶
type LoreGlobalArgs struct {
/* Repository path */
RepositoryPath string
/* Directory that relative paths in this call are resolved against. Set it
when a call may be executed by another process, such as the Lore
service, whose own working directory is unrelated to the caller's. When
empty, relative paths resolve against the working directory of the
process performing the call. */
WorkingDirectory string
/* Correlation ID */
CorrelationId string
/* Identity to use */
Identity string
/* Force the operation if possible */
Force bool
/* Run operation without connecting to server */
Offline bool
/* Use only local data */
Local bool
/* Use only remote data */
Remote bool
/* Dry run mode, only report what would have been changed and perform no changes to local file system */
DryRun bool
/* Avoid recording last access timestamps in the data stores */
NoAtime bool
/* Maximum number of parallel connections for bulk data transfer */
MaxConnections uint32
/* Search limit when iterating revisions */
SearchLimit uint32
/* Allow matching to the nearest matching revision when a perfect match is not available */
SearchNearest bool
/* Prevent the automatic incremental/step GC for this operation; it otherwise runs in the background on write operations. `repository gc` always runs a full pass regardless */
NoGc bool
/* Use in-memory stores instead of file-backed stores. No store data is
read from or written to the .urc/immutable/ and .urc/mutable/ directories. */
InMemory bool
/* Maximum number of files being processed in parallel */
FileCountLimit uint64
/* Maximum total size of all files being processed in parallel */
FileSizeLimit uint64
/* Maximum number of parallel compression tasks */
CompressTaskLimit uint64
/* Keep store references alive after a repository call completes to avoid
repeated store open/close cycles for consecutive API calls in the same process. */
StoreKeepAlive bool
/* Duration in seconds to keep store references alive. Only used when
`store_keep_alive` is set. 0 means use the default (10 seconds). */
StoreKeepAliveSeconds uint64
/* Force sync data to storage media during store flush */
SyncData bool
/* Cache fragment payloads fetched from remote in the local store. Without
this only state fragments and fragments flagged for local cache priority
are retained */
Cache bool
/* Authentication token to use instead of the one held in the secure token
store. Authorization tokens are exchanged from it as they are needed.
Supplying either token puts the call in external-credential mode: `identity`
must be left empty, since it is read from the token. */
IdentityToken string
/* Authorization token to use instead of exchanging one with the auth
service. If given, will not perform token exchanges.
Supplying either token puts the call in external-credential mode: `identity`
must be left empty, since it is read from the token. */
AccessToken string
}
type LoreGlobalArgsFFI ¶
type LoreGlobalArgsFFI struct {
/* Repository path */
RepositoryPath LoreString
/* Directory that relative paths in this call are resolved against. Set it
when a call may be executed by another process, such as the Lore
service, whose own working directory is unrelated to the caller's. When
empty, relative paths resolve against the working directory of the
process performing the call. */
WorkingDirectory LoreString
/* Correlation ID */
CorrelationId LoreString
/* Identity to use */
Identity LoreString
/* Force the operation if possible */
Force uint8
/* Run operation without connecting to server */
Offline uint8
/* Use only local data */
Local uint8
/* Use only remote data */
Remote uint8
/* Dry run mode, only report what would have been changed and perform no changes to local file system */
DryRun uint8
/* Avoid recording last access timestamps in the data stores */
NoAtime uint8
/* Maximum number of parallel connections for bulk data transfer */
MaxConnections uint32
/* Search limit when iterating revisions */
SearchLimit uint32
/* Allow matching to the nearest matching revision when a perfect match is not available */
SearchNearest uint8
/* Prevent the automatic incremental/step GC for this operation; it otherwise runs in the background on write operations. `repository gc` always runs a full pass regardless */
NoGc uint8
/* Use in-memory stores instead of file-backed stores. No store data is
read from or written to the .urc/immutable/ and .urc/mutable/ directories. */
InMemory uint8
/* Maximum number of files being processed in parallel */
FileCountLimit uint64
/* Maximum total size of all files being processed in parallel */
FileSizeLimit uint64
/* Maximum number of parallel compression tasks */
CompressTaskLimit uint64
/* Keep store references alive after a repository call completes to avoid
repeated store open/close cycles for consecutive API calls in the same process. */
StoreKeepAlive uint8
/* Duration in seconds to keep store references alive. Only used when
`store_keep_alive` is set. 0 means use the default (10 seconds). */
StoreKeepAliveSeconds uint64
/* Force sync data to storage media during store flush */
SyncData uint8
/* Cache fragment payloads fetched from remote in the local store. Without
this only state fragments and fragments flagged for local cache priority
are retained */
Cache uint8
/* Authentication token to use instead of the one held in the secure token
store. Authorization tokens are exchanged from it as they are needed.
Supplying either token puts the call in external-credential mode: `identity`
must be left empty, since it is read from the token. */
IdentityToken LoreString
/* Authorization token to use instead of exchanging one with the auth
service. If given, will not perform token exchanges.
Supplying either token puts the call in external-credential mode: `identity`
must be left empty, since it is read from the token. */
AccessToken LoreString
}
func NewLoreGlobalArgs ¶
func NewLoreGlobalArgs(opts LoreGlobalArgs) (LoreGlobalArgsFFI, func())
type LoreInstanceId ¶
type LoreInstanceId struct {
Data [16]uint8
}
func (LoreInstanceId) Clone ¶
func (c LoreInstanceId) Clone() LoreInstanceId
func (LoreInstanceId) String ¶
func (c LoreInstanceId) String() string
String returns the context as a lowercase hexadecimal string Implements fmt.Stringer interface
type LoreInstanceIdArray ¶
type LoreInstanceIdArray = []LoreInstanceId
type LoreInstanceIdArrayFFI ¶
func NewLoreInstanceIdArray ¶
func NewLoreInstanceIdArray(arr []LoreInstanceId) (LoreInstanceIdArrayFFI, func())
func (LoreInstanceIdArrayFFI) Clone ¶
func (arr LoreInstanceIdArrayFFI) Clone() []LoreInstanceId
func (LoreInstanceIdArrayFFI) Get ¶
func (arr LoreInstanceIdArrayFFI) Get(index int) LoreInstanceId
func (LoreInstanceIdArrayFFI) Len ¶
func (arr LoreInstanceIdArrayFFI) Len() int
type LoreKeyType ¶ added in v0.8.4
type LoreKeyType int32
const ( LoreKeyType_UNTYPED LoreKeyType = 0 LoreKeyType_BRANCH_METADATA LoreKeyType = 1 LoreKeyType_BRANCH_ID LoreKeyType = 2 LoreKeyType_BRANCH_LATEST_POINTER LoreKeyType = 3 LoreKeyType_REPOSITORY_METADATA LoreKeyType = 4 LoreKeyType_REPOSITORY_ID LoreKeyType = 5 LoreKeyType_INSTANCE LoreKeyType = 6 LoreKeyType_RESOLVE LoreKeyType = 7 )
type LoreLayerAddArgs ¶
type LoreLayerAddArgs struct {
/* Path in the current repository where the layer should be placed */
TargetPath string
/* Repository to add as a layer */
SourceRepository string
/* Path in the layer repository where the layer should start */
SourcePath string
/* Metadata key to use to match revisions */
Metadata string
}
type LoreLayerAddArgsFFI ¶
type LoreLayerAddArgsFFI struct {
/* Path in the current repository where the layer should be placed */
TargetPath LoreString
/* Repository to add as a layer */
SourceRepository LoreString
/* Path in the layer repository where the layer should start */
SourcePath LoreString
/* Metadata key to use to match revisions */
Metadata LoreString
}
func NewLoreLayerAddArgs ¶
func NewLoreLayerAddArgs(opts LoreLayerAddArgs) (LoreLayerAddArgsFFI, func())
type LoreLayerAddEventData ¶
type LoreLayerAddEventData struct {
/* Path in the outer repository where the layer is placed. */
TargetPath string
/* Identifier of the source repository. */
SourceRepository LoreRepositoryId
/* Path inside the source repository where the layer starts. */
SourcePath string
/* Metadata used to match revisions between the repositories. */
Metadata string
/* Revision of the source repository. */
Revision LoreHash
}
type LoreLayerAddEventDataFFI ¶
type LoreLayerAddEventDataFFI struct {
/* Path in the outer repository where the layer is placed. */
TargetPath LoreString
/* Identifier of the source repository. */
SourceRepository LoreRepositoryId
/* Path inside the source repository where the layer starts. */
SourcePath LoreString
/* Metadata used to match revisions between the repositories. */
Metadata LoreString
/* Revision of the source repository. */
Revision LoreHash
}
func (*LoreLayerAddEventDataFFI) Clone ¶
func (e *LoreLayerAddEventDataFFI) Clone() LoreLayerAddEventData
type LoreLayerEntryEventData ¶
type LoreLayerEntryEventData struct {
/* Path in the outer repository where the layer is placed. */
TargetPath string
/* Identifier of the source repository. */
SourceRepository LoreRepositoryId
/* Path inside the source repository where the layer starts. */
SourcePath string
/* Metadata used to match revisions between the repositories. */
Metadata string
/* Revision of the source repository. */
Revision LoreHash
}
type LoreLayerEntryEventDataFFI ¶
type LoreLayerEntryEventDataFFI struct {
/* Path in the outer repository where the layer is placed. */
TargetPath LoreString
/* Identifier of the source repository. */
SourceRepository LoreRepositoryId
/* Path inside the source repository where the layer starts. */
SourcePath LoreString
/* Metadata used to match revisions between the repositories. */
Metadata LoreString
/* Revision of the source repository. */
Revision LoreHash
}
func (*LoreLayerEntryEventDataFFI) Clone ¶
func (e *LoreLayerEntryEventDataFFI) Clone() LoreLayerEntryEventData
type LoreLayerListArgs ¶
type LoreLayerListArgs struct {
Unused int
}
type LoreLayerListArgsFFI ¶
type LoreLayerListArgsFFI struct {
Unused int
}
func NewLoreLayerListArgs ¶
func NewLoreLayerListArgs(opts LoreLayerListArgs) (LoreLayerListArgsFFI, func())
type LoreLayerRemoveArgs ¶
type LoreLayerRemoveArgsFFI ¶
type LoreLayerRemoveArgsFFI struct {
/* Path in the current repository where the layer is placed */
TargetPath LoreString
/* Repository added as a layer at the given path */
SourceRepository LoreString
/* Remove all untracked files and directories inside the layer mount */
Purge uint8
}
func NewLoreLayerRemoveArgs ¶
func NewLoreLayerRemoveArgs(opts LoreLayerRemoveArgs) (LoreLayerRemoveArgsFFI, func())
type LoreLayerRemoveEventData ¶
type LoreLayerRemoveEventData struct {
/* Path in the outer repository where the layer was placed. */
TargetPath string
/* Identifier of the source repository. */
SourceRepository LoreRepositoryId
/* Path inside the source repository where the layer started. */
SourcePath string
/* Revision of the source repository. */
Revision LoreHash
/* Set when removal was forced. */
Forced bool
/* Set when the layer files were purged from disk. */
Purged bool
/* Number of files removed. */
FileCount uint64
/* Number of directories removed. */
DirectoryCount uint64
/* Number of modified files encountered. */
ModifiedCount uint64
}
type LoreLayerRemoveEventDataFFI ¶
type LoreLayerRemoveEventDataFFI struct {
/* Path in the outer repository where the layer was placed. */
TargetPath LoreString
/* Identifier of the source repository. */
SourceRepository LoreRepositoryId
/* Path inside the source repository where the layer started. */
SourcePath LoreString
/* Revision of the source repository. */
Revision LoreHash
/* Set when removal was forced. */
Forced uint8
/* Set when the layer files were purged from disk. */
Purged uint8
/* Number of files removed. */
FileCount uint64
/* Number of directories removed. */
DirectoryCount uint64
/* Number of modified files encountered. */
ModifiedCount uint64
}
func (*LoreLayerRemoveEventDataFFI) Clone ¶
func (e *LoreLayerRemoveEventDataFFI) Clone() LoreLayerRemoveEventData
type LoreLayerStagedEntryEventData ¶
type LoreLayerStagedEntryEventData struct {
/* Path in the outer repository where the layer is placed. */
TargetPath string
/* Identifier of the source repository. */
SourceRepository LoreRepositoryId
/* Number of staged files in the layer. */
StagedFileCount uint64
}
type LoreLayerStagedEntryEventDataFFI ¶
type LoreLayerStagedEntryEventDataFFI struct {
/* Path in the outer repository where the layer is placed. */
TargetPath LoreString
/* Identifier of the source repository. */
SourceRepository LoreRepositoryId
/* Number of staged files in the layer. */
StagedFileCount uint64
}
func (*LoreLayerStagedEntryEventDataFFI) Clone ¶
func (e *LoreLayerStagedEntryEventDataFFI) Clone() LoreLayerStagedEntryEventData
type LoreLinkAddArgs ¶
type LoreLinkAddArgs struct {
/* Link repository URL */
Link string
/* Path within this repository where the link is added */
LinkPath string
/* Source path within the linked repository; `/` or `\` means the root */
SourcePath string
/* Branch or revision to set the link pin at */
Pin string
/* Disable automatic branch creation in the linked repository */
DisableBranching bool
}
type LoreLinkAddArgsFFI ¶
type LoreLinkAddArgsFFI struct {
/* Link repository URL */
Link LoreString
/* Path within this repository where the link is added */
LinkPath LoreString
/* Source path within the linked repository; `/` or `\` means the root */
SourcePath LoreString
/* Branch or revision to set the link pin at */
Pin LoreString
/* Disable automatic branch creation in the linked repository */
DisableBranching uint8
}
func NewLoreLinkAddArgs ¶
func NewLoreLinkAddArgs(opts LoreLinkAddArgs) (LoreLinkAddArgsFFI, func())
type LoreLinkBranchCreateEventData ¶ added in v0.9.0
type LoreLinkBranchCreateEventData struct {
/* Path of the link within the parent repository. */
LinkPath string
/* Identifier of the repository the link points to. */
LinkRepository LoreRepositoryId
/* Identifier of the branch in the linked repository. */
Branch LoreBranchId
/* Hash of the latest revision on that branch. */
Revision LoreHash
/* Set when a branch with this identifier was already present and was
reused rather than created. */
Reused bool
}
type LoreLinkBranchCreateEventDataFFI ¶ added in v0.9.0
type LoreLinkBranchCreateEventDataFFI struct {
/* Path of the link within the parent repository. */
LinkPath LoreString
/* Identifier of the repository the link points to. */
LinkRepository LoreRepositoryId
/* Identifier of the branch in the linked repository. */
Branch LoreBranchId
/* Hash of the latest revision on that branch. */
Revision LoreHash
/* Set when a branch with this identifier was already present and was
reused rather than created. */
Reused uint8
}
func (*LoreLinkBranchCreateEventDataFFI) Clone ¶ added in v0.9.0
func (e *LoreLinkBranchCreateEventDataFFI) Clone() LoreLinkBranchCreateEventData
type LoreLinkChangeEventData ¶
type LoreLinkChangeEventData struct {
/* Path of the link within the parent repository. */
LinkPath string
/* Identifier of the repository the link points to. */
LinkRepository LoreRepositoryId
/* Identifier of the branch the link is pinned to. */
Branch LoreBranchId
/* Hash of the revision the link is pinned to. */
Revision LoreHash
/* Kind of change applied to the link. */
Action LoreFileAction
}
type LoreLinkChangeEventDataFFI ¶
type LoreLinkChangeEventDataFFI struct {
/* Path of the link within the parent repository. */
LinkPath LoreString
/* Identifier of the repository the link points to. */
LinkRepository LoreRepositoryId
/* Identifier of the branch the link is pinned to. */
Branch LoreBranchId
/* Hash of the revision the link is pinned to. */
Revision LoreHash
/* Kind of change applied to the link. */
Action LoreFileAction
}
func (*LoreLinkChangeEventDataFFI) Clone ¶
func (e *LoreLinkChangeEventDataFFI) Clone() LoreLinkChangeEventData
type LoreLinkEntryEventData ¶
type LoreLinkEntryEventData struct {
/* Identifier of the repository the link points to. */
Link LoreRepositoryId
/* Identifier of the link node in the parent repository. */
LinkNode uint32
/* Path of the link within the parent repository. */
LinkPath string
/* Identifier of the source node in the linked repository. */
SourceNode uint32
/* Path of the source within the linked repository. */
SourcePath string
/* Identifier of the branch the link is pinned to. */
Branch LoreBranchId
/* Set when the link follows its parent's branch instead of being pinned to
an explicit one, in which case `branch` is the branch it resolved to. */
Tracking bool
/* Hash of the revision the link is pinned to. */
Revision LoreHash
/* Link flags. */
Flags uint32
}
type LoreLinkEntryEventDataFFI ¶
type LoreLinkEntryEventDataFFI struct {
/* Identifier of the repository the link points to. */
Link LoreRepositoryId
/* Identifier of the link node in the parent repository. */
LinkNode uint32
/* Path of the link within the parent repository. */
LinkPath LoreString
/* Identifier of the source node in the linked repository. */
SourceNode uint32
/* Path of the source within the linked repository. */
SourcePath LoreString
/* Identifier of the branch the link is pinned to. */
Branch LoreBranchId
/* Set when the link follows its parent's branch instead of being pinned to
an explicit one, in which case `branch` is the branch it resolved to. */
Tracking uint8
/* Hash of the revision the link is pinned to. */
Revision LoreHash
/* Link flags. */
Flags uint32
}
func (*LoreLinkEntryEventDataFFI) Clone ¶
func (e *LoreLinkEntryEventDataFFI) Clone() LoreLinkEntryEventData
type LoreLinkInfoArgs ¶ added in v0.9.0
type LoreLinkInfoArgs struct {
/* Path within this repository of the link to describe */
LinkPath string
}
type LoreLinkInfoArgsFFI ¶ added in v0.9.0
type LoreLinkInfoArgsFFI struct {
/* Path within this repository of the link to describe */
LinkPath LoreString
}
func NewLoreLinkInfoArgs ¶ added in v0.9.0
func NewLoreLinkInfoArgs(opts LoreLinkInfoArgs) (LoreLinkInfoArgsFFI, func())
type LoreLinkInfoEventData ¶ added in v0.9.0
type LoreLinkInfoEventData struct {
/* The link as `LinkEntry` reports it. */
Entry LoreLinkEntryEventData
/* Hash of the remote latest revision of the pinned branch, zero when the
remote was not consulted. */
RemoteRevision LoreHash
/* Staged change to the link itself. */
StagedState LoreLinkStagedState
/* Number of staged files inside the linked repository. */
StagedFileCount uint64
}
type LoreLinkInfoEventDataFFI ¶ added in v0.9.0
type LoreLinkInfoEventDataFFI struct {
/* The link as `LinkEntry` reports it. */
Entry LoreLinkEntryEventDataFFI
/* Hash of the remote latest revision of the pinned branch, zero when the
remote was not consulted. */
RemoteRevision LoreHash
/* Staged change to the link itself. */
StagedState LoreLinkStagedState
/* Number of staged files inside the linked repository. */
StagedFileCount uint64
}
func (*LoreLinkInfoEventDataFFI) Clone ¶ added in v0.9.0
func (e *LoreLinkInfoEventDataFFI) Clone() LoreLinkInfoEventData
type LoreLinkListArgs ¶
type LoreLinkListArgs struct {
Unused int
}
type LoreLinkListArgsFFI ¶
type LoreLinkListArgsFFI struct {
Unused int
}
func NewLoreLinkListArgs ¶
func NewLoreLinkListArgs(opts LoreLinkListArgs) (LoreLinkListArgsFFI, func())
type LoreLinkRemoveArgs ¶
type LoreLinkRemoveArgs struct {
/* Path within this repository where the link is removed */
LinkPath string
}
type LoreLinkRemoveArgsFFI ¶
type LoreLinkRemoveArgsFFI struct {
/* Path within this repository where the link is removed */
LinkPath LoreString
}
func NewLoreLinkRemoveArgs ¶
func NewLoreLinkRemoveArgs(opts LoreLinkRemoveArgs) (LoreLinkRemoveArgsFFI, func())
type LoreLinkStagedEntryEventData ¶
type LoreLinkStagedEntryEventData struct {
/* Path of the link within the parent repository. */
Path string
/* Identifier of the repository the link points to. */
Repository LoreRepositoryId
/* Number of staged files inside the link. */
StagedFileCount uint64
}
type LoreLinkStagedEntryEventDataFFI ¶
type LoreLinkStagedEntryEventDataFFI struct {
/* Path of the link within the parent repository. */
Path LoreString
/* Identifier of the repository the link points to. */
Repository LoreRepositoryId
/* Number of staged files inside the link. */
StagedFileCount uint64
}
func (*LoreLinkStagedEntryEventDataFFI) Clone ¶
func (e *LoreLinkStagedEntryEventDataFFI) Clone() LoreLinkStagedEntryEventData
type LoreLinkStagedState ¶ added in v0.9.0
type LoreLinkStagedState int32
const ( LoreLinkStagedState_NONE LoreLinkStagedState = 0 LoreLinkStagedState_ADDED LoreLinkStagedState = 1 LoreLinkStagedState_REMOVED LoreLinkStagedState = 2 LoreLinkStagedState_MODIFIED LoreLinkStagedState = 3 )
type LoreLinkUpdateArgs ¶
type LoreLinkUpdateArgsFFI ¶
type LoreLinkUpdateArgsFFI struct {
/* Path within this repository of the link to update */
LinkPath LoreString
/* Branch or specific revision to pin the link to */
Pin LoreString
}
func NewLoreLinkUpdateArgs ¶
func NewLoreLinkUpdateArgs(opts LoreLinkUpdateArgs) (LoreLinkUpdateArgsFFI, func())
type LoreLockFileAcquireArgs ¶
type LoreLockFileAcquireArgsFFI ¶
type LoreLockFileAcquireArgsFFI struct {
/* Paths to acquire locks on */
Paths LoreStringArrayFFI
/* Branch the locks are acquired on */
Branch LoreString
}
func NewLoreLockFileAcquireArgs ¶
func NewLoreLockFileAcquireArgs(opts LoreLockFileAcquireArgs) (LoreLockFileAcquireArgsFFI, func())
type LoreLockFileAcquireBeginEventData ¶ added in v0.8.4
type LoreLockFileAcquireBeginEventDataFFI ¶ added in v0.8.4
type LoreLockFileAcquireBeginEventDataFFI struct {
/* Number of acquire entries that follow. */
Count uint64
/* Whether the entries that follow were already owned. */
Ignored uint8
}
func (*LoreLockFileAcquireBeginEventDataFFI) Clone ¶ added in v0.8.4
func (e *LoreLockFileAcquireBeginEventDataFFI) Clone() LoreLockFileAcquireBeginEventData
type LoreLockFileAcquireEventData ¶
type LoreLockFileAcquireEventData struct {
/* The path whose lock is being acquired. */
Path string
}
type LoreLockFileAcquireEventDataFFI ¶
type LoreLockFileAcquireEventDataFFI struct {
/* The path whose lock is being acquired. */
Path LoreString
}
func (*LoreLockFileAcquireEventDataFFI) Clone ¶
func (e *LoreLockFileAcquireEventDataFFI) Clone() LoreLockFileAcquireEventData
type LoreLockFileQueryArgs ¶
type LoreLockFileQueryArgsFFI ¶
type LoreLockFileQueryArgsFFI struct {
/* Branch to query locks on */
Branch LoreString
/* Owner filter; empty matches any owner */
Owner LoreString
/* Path filter; empty matches any path */
Path LoreString
}
func NewLoreLockFileQueryArgs ¶
func NewLoreLockFileQueryArgs(opts LoreLockFileQueryArgs) (LoreLockFileQueryArgsFFI, func())
type LoreLockFileQueryBeginEventData ¶
type LoreLockFileQueryBeginEventData struct {
/* Number of query entries that follow. */
Count uint64
}
type LoreLockFileQueryBeginEventDataFFI ¶
type LoreLockFileQueryBeginEventDataFFI struct {
/* Number of query entries that follow. */
Count uint64
}
func (*LoreLockFileQueryBeginEventDataFFI) Clone ¶
func (e *LoreLockFileQueryBeginEventDataFFI) Clone() LoreLockFileQueryBeginEventData
type LoreLockFileQueryEventData ¶
type LoreLockFileQueryEventData struct {
/* Identifier of the branch the lock belongs to. */
Branch LoreBranchId
/* Path the lock applies to. */
Path string
/* Identifier of the user that holds the lock. */
Owner string
/* Timestamp recorded when the lock was acquired. */
LockedAt uint64
}
type LoreLockFileQueryEventDataFFI ¶
type LoreLockFileQueryEventDataFFI struct {
/* Identifier of the branch the lock belongs to. */
Branch LoreBranchId
/* Path the lock applies to. */
Path LoreString
/* Identifier of the user that holds the lock. */
Owner LoreString
/* Timestamp recorded when the lock was acquired. */
LockedAt uint64
}
func (*LoreLockFileQueryEventDataFFI) Clone ¶
func (e *LoreLockFileQueryEventDataFFI) Clone() LoreLockFileQueryEventData
type LoreLockFileReleaseArgs ¶
type LoreLockFileReleaseArgsFFI ¶
type LoreLockFileReleaseArgsFFI struct {
/* Paths to release locks on */
Paths LoreStringArrayFFI
/* Branch the locks were acquired on */
Branch LoreString
/* Owner of the lock */
Owner LoreString
/* Owner id of the lock */
OwnerId LoreString
}
func NewLoreLockFileReleaseArgs ¶
func NewLoreLockFileReleaseArgs(opts LoreLockFileReleaseArgs) (LoreLockFileReleaseArgsFFI, func())
type LoreLockFileReleaseBeginEventData ¶ added in v0.8.4
type LoreLockFileReleaseBeginEventDataFFI ¶ added in v0.8.4
type LoreLockFileReleaseBeginEventDataFFI struct {
/* Number of release entries that follow. */
Count uint64
/* Whether no matching lock was found to release. */
NotFound uint8
}
func (*LoreLockFileReleaseBeginEventDataFFI) Clone ¶ added in v0.8.4
func (e *LoreLockFileReleaseBeginEventDataFFI) Clone() LoreLockFileReleaseBeginEventData
type LoreLockFileReleaseEventData ¶
type LoreLockFileReleaseEventData struct {
/* The path whose lock is being released. */
Path string
}
type LoreLockFileReleaseEventDataFFI ¶
type LoreLockFileReleaseEventDataFFI struct {
/* The path whose lock is being released. */
Path LoreString
}
func (*LoreLockFileReleaseEventDataFFI) Clone ¶
func (e *LoreLockFileReleaseEventDataFFI) Clone() LoreLockFileReleaseEventData
type LoreLockFileStatusArgs ¶
type LoreLockFileStatusArgsFFI ¶
type LoreLockFileStatusArgsFFI struct {
/* Paths to get the lock status of */
Paths LoreStringArrayFFI
/* Branch the locks were acquired on */
Branch LoreString
}
func NewLoreLockFileStatusArgs ¶
func NewLoreLockFileStatusArgs(opts LoreLockFileStatusArgs) (LoreLockFileStatusArgsFFI, func())
type LoreLockFileStatusBeginEventData ¶
type LoreLockFileStatusBeginEventData struct {
/* Number of status entries that follow. */
Count uint64
}
type LoreLockFileStatusBeginEventDataFFI ¶
type LoreLockFileStatusBeginEventDataFFI struct {
/* Number of status entries that follow. */
Count uint64
}
func (*LoreLockFileStatusBeginEventDataFFI) Clone ¶
func (e *LoreLockFileStatusBeginEventDataFFI) Clone() LoreLockFileStatusBeginEventData
type LoreLockFileStatusEventDataFFI ¶
type LoreLockFileStatusEventDataFFI struct {
/* Path the status applies to. */
Path LoreString
/* Identifier of the user that holds the lock. */
Owner LoreString
/* Timestamp recorded when the lock was acquired. */
LockedAt uint64
}
func (*LoreLockFileStatusEventDataFFI) Clone ¶
func (e *LoreLockFileStatusEventDataFFI) Clone() LoreLockFileStatusEventData
type LoreLogConfig ¶
type LoreLogConfig struct {
/* Enable logging to a file (disabled by default) */
File bool
/* Enable daily rolling logfile */
FileRolling bool
/* Path to the log file */
FilePath string
/* Prefix for log files */
FilePrefix string
/* Minimum log level */
Level LoreLogLevel
/* Log categories bitflags (local, remote, transport) */
Categories uint32
/* Maximum log file size */
FileMaxSize uint32
/* Maximum log file count */
FileMaxCount uint32
}
type LoreLogConfigFFI ¶
type LoreLogConfigFFI struct {
/* Enable logging to a file (disabled by default) */
File uint8
/* Enable daily rolling logfile */
FileRolling uint8
/* Path to the log file */
FilePath LoreString
/* Prefix for log files */
FilePrefix LoreString
/* Minimum log level */
Level LoreLogLevel
/* Log categories bitflags (local, remote, transport) */
Categories uint32
/* Maximum log file size */
FileMaxSize uint32
/* Maximum log file count */
FileMaxCount uint32
}
func NewLoreLogConfig ¶
func NewLoreLogConfig(opts LoreLogConfig) (LoreLogConfigFFI, func())
func (*LoreLogConfigFFI) Clone ¶
func (e *LoreLogConfigFFI) Clone() LoreLogConfig
type LoreLogEventData ¶
type LoreLogEventData struct {
/* The severity level of the log message. */
Level LoreLogLevel
/* The category of the log message. */
Category uint32
/* The time the message was produced. */
Timestamp uint64
/* The source location that produced the message. */
Location string
/* The log message text. */
Message string
}
type LoreLogEventDataFFI ¶
type LoreLogEventDataFFI struct {
/* The severity level of the log message. */
Level LoreLogLevel
/* The category of the log message. */
Category uint32
/* The time the message was produced. */
Timestamp uint64
/* The source location that produced the message. */
Location LoreString
/* The log message text. */
Message LoreString
}
func (*LoreLogEventDataFFI) Clone ¶
func (e *LoreLogEventDataFFI) Clone() LoreLogEventData
type LoreLogLevel ¶
type LoreLogLevel int32
const ( LoreLogLevel_NONE LoreLogLevel = 0 LoreLogLevel_TRACE LoreLogLevel = 1 LoreLogLevel_DEBUG LoreLogLevel = 2 LoreLogLevel_INFO LoreLogLevel = 3 LoreLogLevel_WARN LoreLogLevel = 4 LoreLogLevel_ERROR LoreLogLevel = 5 )
type LoreMaintenanceEventData ¶
type LoreMaintenanceEventData struct {
/* The maintenance message text. */
Message string
}
type LoreMaintenanceEventDataFFI ¶
type LoreMaintenanceEventDataFFI struct {
/* The maintenance message text. */
Message LoreString
}
func (*LoreMaintenanceEventDataFFI) Clone ¶
func (e *LoreMaintenanceEventDataFFI) Clone() LoreMaintenanceEventData
type LoreMetadata ¶
type LoreMetadata struct {
Tag LoreMetadataType
Address *LoreAddress
Boolean *bool
Binary *LoreBinary
Context *LoreContext
Hash *LoreHash
Numeric *uint64
String *string
}
LoreMetadata is a Go-compatible representation of lore_metadata_t
type LoreMetadataClearFileEventData ¶
type LoreMetadataClearFileEventData struct {
/* Path of the file whose metadata was cleared. */
Path string
}
type LoreMetadataClearFileEventDataFFI ¶
type LoreMetadataClearFileEventDataFFI struct {
/* Path of the file whose metadata was cleared. */
Path LoreString
}
func (*LoreMetadataClearFileEventDataFFI) Clone ¶
func (e *LoreMetadataClearFileEventDataFFI) Clone() LoreMetadataClearFileEventData
type LoreMetadataClearRevisionEventData ¶
type LoreMetadataClearRevisionEventData struct {
/* Hash of the revision whose metadata was cleared. */
Revision LoreHash
}
type LoreMetadataClearRevisionEventDataFFI ¶
type LoreMetadataClearRevisionEventDataFFI struct {
/* Hash of the revision whose metadata was cleared. */
Revision LoreHash
}
func (*LoreMetadataClearRevisionEventDataFFI) Clone ¶
func (e *LoreMetadataClearRevisionEventDataFFI) Clone() LoreMetadataClearRevisionEventData
type LoreMetadataEventData ¶
type LoreMetadataEventData struct {
/* The metadata key. */
Key string
/* The metadata value. */
Value LoreMetadata
}
type LoreMetadataEventDataFFI ¶
type LoreMetadataEventDataFFI struct {
/* The metadata key. */
Key LoreString
/* The metadata value. */
Value LoreMetadataFFI
}
func (*LoreMetadataEventDataFFI) Clone ¶
func (e *LoreMetadataEventDataFFI) Clone() LoreMetadataEventData
type LoreMetadataFFI ¶
type LoreMetadataFFI struct {
Tag LoreMetadataType
// contains filtered or unexported fields
}
LoreMetadataFFI is a C-compatible representation of lore_metadata_t
func NewLoreMetadata ¶ added in v0.9.0
func NewLoreMetadata(m LoreMetadata) (LoreMetadataFFI, func())
NewLoreMetadata converts a LoreMetadata to LoreMetadataFFI, writing the payload into the union storage under the kind named by Tag. A nil payload pointer is written as that kind's zero value. Panics on a Tag that names no kind, including the zero value, which the C API does not accept.
func (*LoreMetadataFFI) AsBoolean ¶
func (m *LoreMetadataFFI) AsBoolean() bool
AsBoolean returns the metadata value as bool Only valid if Tag == LoreMetadataType_BOOLEAN
func (*LoreMetadataFFI) AsLoreAddress ¶
func (m *LoreMetadataFFI) AsLoreAddress() *LoreAddress
AsAddress returns the metadata value as LoreAddress Only valid if Tag == LoreMetadataType_ADDRESS
func (*LoreMetadataFFI) AsLoreBinary ¶
func (m *LoreMetadataFFI) AsLoreBinary() *LoreBinaryFFI
AsBinary returns the metadata value as LoreBinaryFFI Only valid if Tag == LoreMetadataType_BINARY
func (*LoreMetadataFFI) AsLoreContext ¶
func (m *LoreMetadataFFI) AsLoreContext() *LoreContext
AsContext returns the metadata value as LoreContext Only valid if Tag == LoreMetadataType_CONTEXT
func (*LoreMetadataFFI) AsLoreHash ¶
func (m *LoreMetadataFFI) AsLoreHash() *LoreHash
AsHash returns the metadata value as LoreHash Only valid if Tag == LoreMetadataType_HASH
func (*LoreMetadataFFI) AsLoreString ¶
func (m *LoreMetadataFFI) AsLoreString() *LoreString
AsString returns the metadata value as LoreString Only valid if Tag == LoreMetadataType_STRING
func (*LoreMetadataFFI) AsNumeric ¶
func (m *LoreMetadataFFI) AsNumeric() uint64
AsNumeric returns the metadata value as uint64 Only valid if Tag == LoreMetadataType_NUMERIC
func (*LoreMetadataFFI) Clone ¶
func (m *LoreMetadataFFI) Clone() LoreMetadata
type LoreMetadataType ¶
type LoreMetadataType int32
const ( LoreMetadataType_ADDRESS LoreMetadataType = 1 LoreMetadataType_BOOLEAN LoreMetadataType = 2 LoreMetadataType_CONTEXT LoreMetadataType = 3 LoreMetadataType_HASH LoreMetadataType = 4 LoreMetadataType_NUMERIC LoreMetadataType = 5 LoreMetadataType_STRING LoreMetadataType = 6 LoreMetadataType_BINARY LoreMetadataType = 255 )
type LoreMetadataTypeArray ¶
type LoreMetadataTypeArray = []LoreMetadataType
type LoreMetadataTypeArrayFFI ¶
func NewLoreMetadataTypeArray ¶
func NewLoreMetadataTypeArray(arr []LoreMetadataType) (LoreMetadataTypeArrayFFI, func())
func (LoreMetadataTypeArrayFFI) Clone ¶
func (arr LoreMetadataTypeArrayFFI) Clone() []LoreMetadataType
func (LoreMetadataTypeArrayFFI) Get ¶
func (arr LoreMetadataTypeArrayFFI) Get(index int) LoreMetadataType
func (LoreMetadataTypeArrayFFI) Len ¶
func (arr LoreMetadataTypeArrayFFI) Len() int
type LoreNodeStagedAction ¶ added in v0.9.0
type LoreNodeStagedAction int32
const ( LoreNodeStagedAction_NONE LoreNodeStagedAction = 0 LoreNodeStagedAction_ADD LoreNodeStagedAction = 1 LoreNodeStagedAction_MODIFY LoreNodeStagedAction = 2 LoreNodeStagedAction_DELETE LoreNodeStagedAction = 3 LoreNodeStagedAction_MOVE LoreNodeStagedAction = 4 LoreNodeStagedAction_COPY LoreNodeStagedAction = 5 )
type LoreNodeType ¶
type LoreNodeType int32
const ( LoreNodeType_DIRECTORY LoreNodeType = 0 LoreNodeType_FILE LoreNodeType = 1 LoreNodeType_LINK LoreNodeType = 2 )
type LoreNotificationBranchCreatedEventData ¶
type LoreNotificationBranchCreatedEventData struct {
/* Identifier of the created branch. */
Branch LoreBranchId
}
type LoreNotificationBranchCreatedEventDataFFI ¶
type LoreNotificationBranchCreatedEventDataFFI struct {
/* Identifier of the created branch. */
Branch LoreBranchId
}
type LoreNotificationBranchDeletedEventData ¶
type LoreNotificationBranchDeletedEventData struct {
/* Identifier of the deleted branch. */
Branch LoreBranchId
}
type LoreNotificationBranchDeletedEventDataFFI ¶
type LoreNotificationBranchDeletedEventDataFFI struct {
/* Identifier of the deleted branch. */
Branch LoreBranchId
}
type LoreNotificationBranchPushedEventData ¶
type LoreNotificationBranchPushedEventData struct {
/* Hash of the pushed revision. */
Revision LoreHash
/* Sequence number of the pushed revision. */
RevisionNumber uint64
/* Identifier of the branch that received the revision. */
Branch LoreBranchId
/* Identifier of the user that pushed the revision. */
UserId string
}
type LoreNotificationBranchPushedEventDataFFI ¶
type LoreNotificationBranchPushedEventDataFFI struct {
/* Hash of the pushed revision. */
Revision LoreHash
/* Sequence number of the pushed revision. */
RevisionNumber uint64
/* Identifier of the branch that received the revision. */
Branch LoreBranchId
/* Identifier of the user that pushed the revision. */
UserId LoreString
}
type LoreNotificationResourceLockedEventData ¶
type LoreNotificationResourceLockedEventData struct {
/* Identifier of the user that locked the resources. */
UserId string
/* Identifier of the branch the resources belong to. */
Branch LoreBranchId
/* Paths of the locked resources. */
Paths []string
}
type LoreNotificationResourceLockedEventDataFFI ¶
type LoreNotificationResourceLockedEventDataFFI struct {
/* Identifier of the user that locked the resources. */
UserId LoreString
/* Identifier of the branch the resources belong to. */
Branch LoreBranchId
/* Paths of the locked resources. */
Paths LoreStringArrayFFI
}
type LoreNotificationResourceUnlockedEventData ¶
type LoreNotificationResourceUnlockedEventData struct {
/* Identifier of the user that unlocked the resources. */
UserId string
/* Identifier of the branch the resources belong to. */
Branch LoreBranchId
/* Paths of the unlocked resources. */
Paths []string
}
type LoreNotificationResourceUnlockedEventDataFFI ¶
type LoreNotificationResourceUnlockedEventDataFFI struct {
/* Identifier of the user that unlocked the resources. */
UserId LoreString
/* Identifier of the branch the resources belong to. */
Branch LoreBranchId
/* Paths of the unlocked resources. */
Paths LoreStringArrayFFI
}
type LoreNotificationSubscribeArgs ¶
type LoreNotificationSubscribeArgs struct {
Unused int
}
type LoreNotificationSubscribeArgsFFI ¶
type LoreNotificationSubscribeArgsFFI struct {
Unused int
}
func NewLoreNotificationSubscribeArgs ¶
func NewLoreNotificationSubscribeArgs(opts LoreNotificationSubscribeArgs) (LoreNotificationSubscribeArgsFFI, func())
type LoreNotificationSubscribedEventData ¶
type LoreNotificationSubscribedEventData struct {
/* Identifier of the subscribed repository. */
Repository LoreRepositoryId
}
type LoreNotificationSubscribedEventDataFFI ¶
type LoreNotificationSubscribedEventDataFFI struct {
/* Identifier of the subscribed repository. */
Repository LoreRepositoryId
}
func (*LoreNotificationSubscribedEventDataFFI) Clone ¶
func (e *LoreNotificationSubscribedEventDataFFI) Clone() LoreNotificationSubscribedEventData
type LoreNotificationUnsubscribeArgs ¶
type LoreNotificationUnsubscribeArgs struct {
Unused int
}
type LoreNotificationUnsubscribeArgsFFI ¶
type LoreNotificationUnsubscribeArgsFFI struct {
Unused int
}
func NewLoreNotificationUnsubscribeArgs ¶
func NewLoreNotificationUnsubscribeArgs(opts LoreNotificationUnsubscribeArgs) (LoreNotificationUnsubscribeArgsFFI, func())
type LoreNotificationUnsubscribedEventData ¶
type LoreNotificationUnsubscribedEventData struct {
/* Identifier of the unsubscribed repository. */
Repository LoreRepositoryId
}
type LoreNotificationUnsubscribedEventDataFFI ¶
type LoreNotificationUnsubscribedEventDataFFI struct {
/* Identifier of the unsubscribed repository. */
Repository LoreRepositoryId
}
type LorePartition ¶
type LorePartition struct {
Data [16]uint8
}
func (LorePartition) Clone ¶
func (c LorePartition) Clone() LorePartition
func (LorePartition) String ¶
func (c LorePartition) String() string
String returns the context as a lowercase hexadecimal string Implements fmt.Stringer interface
type LorePathIgnoreEventData ¶
type LorePathIgnoreEventData struct {
/* The ignored path */
Path string
}
type LorePathIgnoreEventDataFFI ¶
type LorePathIgnoreEventDataFFI struct {
/* The ignored path */
Path LoreString
}
func (*LorePathIgnoreEventDataFFI) Clone ¶
func (e *LorePathIgnoreEventDataFFI) Clone() LorePathIgnoreEventData
type LoreProgressEventData ¶
type LoreProgressEventData struct {
/* Placeholder field; carries no meaningful value. */
Unused uint32
}
type LoreProgressEventDataFFI ¶
type LoreProgressEventDataFFI struct {
/* Placeholder field; carries no meaningful value. */
Unused uint32
}
func (*LoreProgressEventDataFFI) Clone ¶
func (e *LoreProgressEventDataFFI) Clone() LoreProgressEventData
type LoreRepositoryCloneArgs ¶
type LoreRepositoryCloneArgs struct {
/* URL to the repository */
RepositoryUrl string
/* [Optional] Revision to clone */
Revision string
/* [Optional] Client side view filter to use */
View string
/* Clone without any files */
Bare bool
/* Clone virtually using split-write filesystem */
Virtually bool
/* Use direct file write */
DirectFileWrite bool
/* (Optional) Layer module */
Layer string
/* (Optional) Layer metadata key to link revisions with */
LayerMetadata string
/* (Optional) File containing list of files to prefetch */
Prefetch string
UseSharedStore LoreSharedStoreMode
SharedStorePath string
/* Clone without local repository tracking (memory-only stores) */
NoTracking bool
/* Root files for dependency-based selective clone */
RootFiles []string
/* Tags to filter dependencies by during resolution */
DependencyTags []string
/* Follow transitive dependencies recursively */
DependencyRecursive bool
/* Maximum dependency traversal depth. 0 means unlimited. */
DependencyDepthLimit uint32
}
type LoreRepositoryCloneArgsFFI ¶
type LoreRepositoryCloneArgsFFI struct {
/* URL to the repository */
RepositoryUrl LoreString
/* [Optional] Revision to clone */
Revision LoreString
/* [Optional] Client side view filter to use */
View LoreString
/* Clone without any files */
Bare uint8
/* Clone virtually using split-write filesystem */
Virtually uint8
/* Use direct file write */
DirectFileWrite uint8
/* (Optional) Layer module */
Layer LoreString
/* (Optional) Layer metadata key to link revisions with */
LayerMetadata LoreString
/* (Optional) File containing list of files to prefetch */
Prefetch LoreString
UseSharedStore LoreSharedStoreMode
SharedStorePath LoreString
/* Clone without local repository tracking (memory-only stores) */
NoTracking uint8
/* Root files for dependency-based selective clone */
RootFiles LoreStringArrayFFI
/* Tags to filter dependencies by during resolution */
DependencyTags LoreStringArrayFFI
/* Follow transitive dependencies recursively */
DependencyRecursive uint8
/* Maximum dependency traversal depth. 0 means unlimited. */
DependencyDepthLimit uint32
}
func NewLoreRepositoryCloneArgs ¶
func NewLoreRepositoryCloneArgs(opts LoreRepositoryCloneArgs) (LoreRepositoryCloneArgsFFI, func())
type LoreRepositoryCloneBeginEventData ¶
type LoreRepositoryCloneBeginEventData struct {
/* Identifier of the repository being cloned. */
Repository LoreRepositoryId
/* Name of the branch being cloned. */
Branch string
/* Revision being cloned. */
Revision LoreHash
/* Local path the clone is written to. */
Path string
}
type LoreRepositoryCloneBeginEventDataFFI ¶
type LoreRepositoryCloneBeginEventDataFFI struct {
/* Identifier of the repository being cloned. */
Repository LoreRepositoryId
/* Name of the branch being cloned. */
Branch LoreString
/* Revision being cloned. */
Revision LoreHash
/* Local path the clone is written to. */
Path LoreString
}
func (*LoreRepositoryCloneBeginEventDataFFI) Clone ¶
func (e *LoreRepositoryCloneBeginEventDataFFI) Clone() LoreRepositoryCloneBeginEventData
type LoreRepositoryCloneCountData ¶
type LoreRepositoryCloneCountData struct {
/* Number of files finished. */
FileComplete uint64
/* Number of files kept as they already matched. */
FileRetain uint64
/* Number of files replaced. */
FileReplace uint64
/* Total number of files discovered to process. */
FileCount uint64
/* Number of files currently being processed. */
FileInflight uint64
/* Number of fragment fetches currently in flight. */
FragmentInflight uint64
/* Number of bytes transferred so far. */
BytesTransferred uint64
/* Total number of bytes to transfer. */
BytesTotal uint64
/* Non-zero once file discovery has finished. */
DiscoveryComplete bool
}
type LoreRepositoryCloneCountDataFFI ¶
type LoreRepositoryCloneCountDataFFI struct {
/* Number of files finished. */
FileComplete uint64
/* Number of files kept as they already matched. */
FileRetain uint64
/* Number of files replaced. */
FileReplace uint64
/* Total number of files discovered to process. */
FileCount uint64
/* Number of files currently being processed. */
FileInflight uint64
/* Number of fragment fetches currently in flight. */
FragmentInflight uint64
/* Number of bytes transferred so far. */
BytesTransferred uint64
/* Total number of bytes to transfer. */
BytesTotal uint64
/* Non-zero once file discovery has finished. */
DiscoveryComplete uint8
}
func NewLoreRepositoryCloneCountData ¶
func NewLoreRepositoryCloneCountData(opts LoreRepositoryCloneCountData) (LoreRepositoryCloneCountDataFFI, func())
func (*LoreRepositoryCloneCountDataFFI) Clone ¶
func (e *LoreRepositoryCloneCountDataFFI) Clone() LoreRepositoryCloneCountData
type LoreRepositoryCloneEndEventData ¶
type LoreRepositoryCloneEndEventData struct {
/* Name of the branch that was cloned. */
Branch string
/* Revision that was cloned. */
Revision LoreHash
/* Final progress counts. */
Count LoreRepositoryCloneCountData
}
type LoreRepositoryCloneEndEventDataFFI ¶
type LoreRepositoryCloneEndEventDataFFI struct {
/* Name of the branch that was cloned. */
Branch LoreString
/* Revision that was cloned. */
Revision LoreHash
/* Final progress counts. */
Count LoreRepositoryCloneCountDataFFI
}
func (*LoreRepositoryCloneEndEventDataFFI) Clone ¶
func (e *LoreRepositoryCloneEndEventDataFFI) Clone() LoreRepositoryCloneEndEventData
type LoreRepositoryCloneProgressEventData ¶
type LoreRepositoryCloneProgressEventData struct {
/* Current progress counts. */
Count LoreRepositoryCloneCountData
}
type LoreRepositoryCloneProgressEventDataFFI ¶
type LoreRepositoryCloneProgressEventDataFFI struct {
/* Current progress counts. */
Count LoreRepositoryCloneCountDataFFI
}
func (*LoreRepositoryCloneProgressEventDataFFI) Clone ¶
func (e *LoreRepositoryCloneProgressEventDataFFI) Clone() LoreRepositoryCloneProgressEventData
type LoreRepositoryConfigGetArgs ¶
type LoreRepositoryConfigGetArgs struct {
/* Config key to read (`remote_url` or `identity`) */
Key string
}
type LoreRepositoryConfigGetArgsFFI ¶
type LoreRepositoryConfigGetArgsFFI struct {
/* Config key to read (`remote_url` or `identity`) */
Key LoreString
}
func NewLoreRepositoryConfigGetArgs ¶
func NewLoreRepositoryConfigGetArgs(opts LoreRepositoryConfigGetArgs) (LoreRepositoryConfigGetArgsFFI, func())
type LoreRepositoryConfigGetEventDataFFI ¶
type LoreRepositoryConfigGetEventDataFFI struct {
/* Configuration key. */
Key LoreString
/* Configuration value for the key. */
Value LoreString
}
func (*LoreRepositoryConfigGetEventDataFFI) Clone ¶
func (e *LoreRepositoryConfigGetEventDataFFI) Clone() LoreRepositoryConfigGetEventData
type LoreRepositoryCreateArgs ¶
type LoreRepositoryCreateArgs struct {
/* URL to the repository */
RepositoryUrl string
/* Optional repository description */
Description string
/* Optional repository ID, set to empty string to generate a new ID */
Id string
UseSharedStore LoreSharedStoreMode
SharedStorePath string
}
type LoreRepositoryCreateArgsFFI ¶
type LoreRepositoryCreateArgsFFI struct {
/* URL to the repository */
RepositoryUrl LoreString
/* Optional repository description */
Description LoreString
/* Optional repository ID, set to empty string to generate a new ID */
Id LoreString
UseSharedStore LoreSharedStoreMode
SharedStorePath LoreString
}
func NewLoreRepositoryCreateArgs ¶
func NewLoreRepositoryCreateArgs(opts LoreRepositoryCreateArgs) (LoreRepositoryCreateArgsFFI, func())
type LoreRepositoryCreateEventData ¶
type LoreRepositoryCreateEventData struct {
/* Identifier of the created repository. */
Id LoreRepositoryId
/* Name of the created repository. */
Name string
/* Local path of the created repository. */
Path string
}
type LoreRepositoryCreateEventDataFFI ¶
type LoreRepositoryCreateEventDataFFI struct {
/* Identifier of the created repository. */
Id LoreRepositoryId
/* Name of the created repository. */
Name LoreString
/* Local path of the created repository. */
Path LoreString
}
func (*LoreRepositoryCreateEventDataFFI) Clone ¶
func (e *LoreRepositoryCreateEventDataFFI) Clone() LoreRepositoryCreateEventData
type LoreRepositoryDataEventData ¶
type LoreRepositoryDataEventData struct {
/* Remote URL of the repository. */
RemoteUrl string
/* Repository identifier. */
Id LoreRepositoryId
/* Repository name. */
Name string
/* Repository description. */
Description string
/* Identifier of the default branch. */
DefaultBranch LoreBranchId
/* Name of the default branch. */
DefaultBranchName string
/* Name of the user who created the repository. */
Creator string
/* Creation time of the repository, in seconds since the Unix epoch. */
Created uint64
}
type LoreRepositoryDataEventDataFFI ¶
type LoreRepositoryDataEventDataFFI struct {
/* Remote URL of the repository. */
RemoteUrl LoreString
/* Repository identifier. */
Id LoreRepositoryId
/* Repository name. */
Name LoreString
/* Repository description. */
Description LoreString
/* Identifier of the default branch. */
DefaultBranch LoreBranchId
/* Name of the default branch. */
DefaultBranchName LoreString
/* Name of the user who created the repository. */
Creator LoreString
/* Creation time of the repository, in seconds since the Unix epoch. */
Created uint64
}
func (*LoreRepositoryDataEventDataFFI) Clone ¶
func (e *LoreRepositoryDataEventDataFFI) Clone() LoreRepositoryDataEventData
type LoreRepositoryDumpArgs ¶
type LoreRepositoryDumpArgsFFI ¶
type LoreRepositoryDumpArgsFFI struct {
/* Revision to dump; empty string uses the current revision */
Revision LoreString
/* Repository-relative path to start dumping from; empty dumps the root */
Path LoreString
/* Maximum tree traversal depth */
MaxDepth uintptr
}
func NewLoreRepositoryDumpArgs ¶
func NewLoreRepositoryDumpArgs(opts LoreRepositoryDumpArgs) (LoreRepositoryDumpArgsFFI, func())
type LoreRepositoryDumpBeginEventData ¶
type LoreRepositoryDumpBeginEventData struct {
/* Repository identifier. */
Repository LoreRepositoryId
/* Revision being dumped. */
Revision LoreHash
}
type LoreRepositoryDumpBeginEventDataFFI ¶
type LoreRepositoryDumpBeginEventDataFFI struct {
/* Repository identifier. */
Repository LoreRepositoryId
/* Revision being dumped. */
Revision LoreHash
}
func (*LoreRepositoryDumpBeginEventDataFFI) Clone ¶
func (e *LoreRepositoryDumpBeginEventDataFFI) Clone() LoreRepositoryDumpBeginEventData
type LoreRepositoryDumpEndEventData ¶
type LoreRepositoryDumpEndEventData struct {
/* Placeholder field. The event carries no data. */
Unused uint32
}
type LoreRepositoryDumpEndEventDataFFI ¶
type LoreRepositoryDumpEndEventDataFFI struct {
/* Placeholder field. The event carries no data. */
Unused uint32
}
func (*LoreRepositoryDumpEndEventDataFFI) Clone ¶
func (e *LoreRepositoryDumpEndEventDataFFI) Clone() LoreRepositoryDumpEndEventData
type LoreRepositoryFlushArgs ¶
type LoreRepositoryFlushArgs struct {
Unused int
}
type LoreRepositoryFlushArgsFFI ¶
type LoreRepositoryFlushArgsFFI struct {
Unused int
}
func NewLoreRepositoryFlushArgs ¶
func NewLoreRepositoryFlushArgs(opts LoreRepositoryFlushArgs) (LoreRepositoryFlushArgsFFI, func())
type LoreRepositoryGcArgs ¶
type LoreRepositoryGcArgs struct {
Unused int
}
type LoreRepositoryGcArgsFFI ¶
type LoreRepositoryGcArgsFFI struct {
Unused int
}
func NewLoreRepositoryGcArgs ¶
func NewLoreRepositoryGcArgs(opts LoreRepositoryGcArgs) (LoreRepositoryGcArgsFFI, func())
type LoreRepositoryId ¶
type LoreRepositoryId LorePartition
func (LoreRepositoryId) Clone ¶
func (c LoreRepositoryId) Clone() LoreRepositoryId
func (LoreRepositoryId) String ¶
func (c LoreRepositoryId) String() string
String returns the context as a lowercase hexadecimal string Implements fmt.Stringer interface
type LoreRepositoryInfoArgs ¶
type LoreRepositoryInfoArgs struct {
/* URL of the remote repository to query */
RepositoryUrl string
}
type LoreRepositoryInfoArgsFFI ¶
type LoreRepositoryInfoArgsFFI struct {
/* URL of the remote repository to query */
RepositoryUrl LoreString
}
func NewLoreRepositoryInfoArgs ¶
func NewLoreRepositoryInfoArgs(opts LoreRepositoryInfoArgs) (LoreRepositoryInfoArgsFFI, func())
type LoreRepositoryInstanceEventData ¶
type LoreRepositoryInstanceEventData struct {
/* Identifier of the instance */
InstanceId LoreInstanceId
/* Filesystem path of the instance */
Path string
/* Name of the branch the instance has checked out */
BranchName string
/* Identifier of the branch the instance has checked out */
Branch LoreBranchId
/* Current revision hash for the instance */
Revision LoreHash
/* Non-zero if the instance path no longer exists on disk */
Stale bool
}
type LoreRepositoryInstanceEventDataFFI ¶
type LoreRepositoryInstanceEventDataFFI struct {
/* Identifier of the instance */
InstanceId LoreInstanceId
/* Filesystem path of the instance */
Path LoreString
/* Name of the branch the instance has checked out */
BranchName LoreString
/* Identifier of the branch the instance has checked out */
Branch LoreBranchId
/* Current revision hash for the instance */
Revision LoreHash
/* Non-zero if the instance path no longer exists on disk */
Stale uint8
}
func (*LoreRepositoryInstanceEventDataFFI) Clone ¶
func (e *LoreRepositoryInstanceEventDataFFI) Clone() LoreRepositoryInstanceEventData
type LoreRepositoryInstanceListArgs ¶
type LoreRepositoryInstanceListArgs struct {
Unused int
}
type LoreRepositoryInstanceListArgsFFI ¶
type LoreRepositoryInstanceListArgsFFI struct {
Unused int
}
func NewLoreRepositoryInstanceListArgs ¶
func NewLoreRepositoryInstanceListArgs(opts LoreRepositoryInstanceListArgs) (LoreRepositoryInstanceListArgsFFI, func())
type LoreRepositoryInstancePruneArgs ¶
type LoreRepositoryInstancePruneArgs struct {
Unused int
}
type LoreRepositoryInstancePruneArgsFFI ¶
type LoreRepositoryInstancePruneArgsFFI struct {
Unused int
}
func NewLoreRepositoryInstancePruneArgs ¶
func NewLoreRepositoryInstancePruneArgs(opts LoreRepositoryInstancePruneArgs) (LoreRepositoryInstancePruneArgsFFI, func())
type LoreRepositoryListArgs ¶
type LoreRepositoryListArgs struct {
/* Remote URL to list repositories from */
Url string
}
type LoreRepositoryListArgsFFI ¶
type LoreRepositoryListArgsFFI struct {
/* Remote URL to list repositories from */
Url LoreString
}
func NewLoreRepositoryListArgs ¶
func NewLoreRepositoryListArgs(opts LoreRepositoryListArgs) (LoreRepositoryListArgsFFI, func())
type LoreRepositoryListEntryEventData ¶
type LoreRepositoryListEntryEventData struct {
/* Repository identifier. */
Id LoreRepositoryId
/* Repository name. */
Name string
}
type LoreRepositoryListEntryEventDataFFI ¶
type LoreRepositoryListEntryEventDataFFI struct {
/* Repository identifier. */
Id LoreRepositoryId
/* Repository name. */
Name LoreString
}
func (*LoreRepositoryListEntryEventDataFFI) Clone ¶
func (e *LoreRepositoryListEntryEventDataFFI) Clone() LoreRepositoryListEntryEventData
type LoreRepositoryMetadataClearArgs ¶
type LoreRepositoryMetadataClearArgs struct {
/* Keys to clear; empty array clears all user-defined keys */
Keys []string
}
type LoreRepositoryMetadataClearArgsFFI ¶
type LoreRepositoryMetadataClearArgsFFI struct {
/* Keys to clear; empty array clears all user-defined keys */
Keys LoreStringArrayFFI
}
func NewLoreRepositoryMetadataClearArgs ¶
func NewLoreRepositoryMetadataClearArgs(opts LoreRepositoryMetadataClearArgs) (LoreRepositoryMetadataClearArgsFFI, func())
type LoreRepositoryMetadataGetArgs ¶
type LoreRepositoryMetadataGetArgs struct {
/* Metadata key to fetch; empty string lists all entries */
Key string
}
type LoreRepositoryMetadataGetArgsFFI ¶
type LoreRepositoryMetadataGetArgsFFI struct {
/* Metadata key to fetch; empty string lists all entries */
Key LoreString
}
func NewLoreRepositoryMetadataGetArgs ¶
func NewLoreRepositoryMetadataGetArgs(opts LoreRepositoryMetadataGetArgs) (LoreRepositoryMetadataGetArgsFFI, func())
type LoreRepositoryMetadataSetArgs ¶
type LoreRepositoryMetadataSetArgs struct {
/* Metadata keys to set, positionally aligned with `values` and `formats` */
Keys []string
/* Values to set, one per key, encoded per the matching `formats` entry */
Values []string
/* Value format/type for each key-value pair */
Formats LoreMetadataTypeArray
}
type LoreRepositoryMetadataSetArgsFFI ¶
type LoreRepositoryMetadataSetArgsFFI struct {
/* Metadata keys to set, positionally aligned with `values` and `formats` */
Keys LoreStringArrayFFI
/* Values to set, one per key, encoded per the matching `formats` entry */
Values LoreStringArrayFFI
/* Value format/type for each key-value pair */
Formats LoreMetadataTypeArrayFFI
}
func NewLoreRepositoryMetadataSetArgs ¶
func NewLoreRepositoryMetadataSetArgs(opts LoreRepositoryMetadataSetArgs) (LoreRepositoryMetadataSetArgsFFI, func())
type LoreRepositoryReleaseArgs ¶
type LoreRepositoryReleaseArgs struct {
Unused int
}
type LoreRepositoryReleaseArgsFFI ¶
type LoreRepositoryReleaseArgsFFI struct {
Unused int
}
func NewLoreRepositoryReleaseArgs ¶
func NewLoreRepositoryReleaseArgs(opts LoreRepositoryReleaseArgs) (LoreRepositoryReleaseArgsFFI, func())
type LoreRepositoryStateDumpEventDataFFI ¶
type LoreRepositoryStateDumpEventDataFFI struct {
/* Sequence number of the revision. */
RevisionNumber uint64
/* Hash of the revision. */
Revision LoreHash
/* Hash of the state's node tree. */
TreeHash LoreHash
/* Size of the node tree in bytes. */
TreeSize uint64
}
func (*LoreRepositoryStateDumpEventDataFFI) Clone ¶
func (e *LoreRepositoryStateDumpEventDataFFI) Clone() LoreRepositoryStateDumpEventData
type LoreRepositoryStateDumpNodeEventData ¶
type LoreRepositoryStateDumpNodeEventData struct {
/* Name of the node. */
Name string
/* Identifier of the node. */
Id uint32
/* Identifier of the parent node. */
Parent uint32
/* Identifier of the next sibling node. */
Sibling uint32
/* File mode of the node. */
Mode uint16
/* Size of the node's content in bytes. */
Size uint64
/* Node flags. */
Flags uint16
/* Type-specific detail for the node. */
TypeData string
}
type LoreRepositoryStateDumpNodeEventDataFFI ¶
type LoreRepositoryStateDumpNodeEventDataFFI struct {
/* Name of the node. */
Name LoreString
/* Identifier of the node. */
Id uint32
/* Identifier of the parent node. */
Parent uint32
/* Identifier of the next sibling node. */
Sibling uint32
/* File mode of the node. */
Mode uint16
/* Size of the node's content in bytes. */
Size uint64
/* Node flags. */
Flags uint16
/* Type-specific detail for the node. */
TypeData LoreString
}
func (*LoreRepositoryStateDumpNodeEventDataFFI) Clone ¶
func (e *LoreRepositoryStateDumpNodeEventDataFFI) Clone() LoreRepositoryStateDumpNodeEventData
type LoreRepositoryStatusArgs ¶
type LoreRepositoryStatusArgs struct {
/* Include staged state in the report */
Staged bool
/* Reconcile against the filesystem and refresh dirty tracking.
By default, status reports the currently tracked state: the
staged revision (if any) plus any files and directories already
marked dirty. No filesystem reads are performed beyond the existing
dirty flags — clean or unmarked files on disk are not inspected even
if they differ from the current revision.
When enabled, the filesystem is walked under each requested path, every
file is reconciled against the current revision, and dirty flags are
set or cleared accordingly. The refreshed flags are persisted in the
staged state so subsequent operations (commit, stage, status) see an
accurate picture without rescanning. */
Scan bool
/* Verify dirty flags against the filesystem without a full scan.
When enabled, files already marked dirty are re-examined individually: a
dirty file whose on-disk content matches its tracked node (same size,
and same content when the modification time differs) has its dirty flag
cleared and is omitted from the report, unless it is also staged.
Structural dirty actions (add/move/copy/delete) are always reported.
The refreshed flags are persisted in the staged state. */
CheckDirty bool
/* Reset the tracked state before computing status */
Reset bool
/* Include the sync point in the report */
SyncPoint bool
/* Only emit revision info, skipping all diffs */
RevisionOnly bool
/* Count directories and files (view-filtered) in the staged state if
present, otherwise the current revision */
Count bool
/* Repository-relative paths to limit the status check to; empty checks all */
Paths []string
}
type LoreRepositoryStatusArgsFFI ¶
type LoreRepositoryStatusArgsFFI struct {
/* Include staged state in the report */
Staged uint8
/* Reconcile against the filesystem and refresh dirty tracking.
By default, status reports the currently tracked state: the
staged revision (if any) plus any files and directories already
marked dirty. No filesystem reads are performed beyond the existing
dirty flags — clean or unmarked files on disk are not inspected even
if they differ from the current revision.
When enabled, the filesystem is walked under each requested path, every
file is reconciled against the current revision, and dirty flags are
set or cleared accordingly. The refreshed flags are persisted in the
staged state so subsequent operations (commit, stage, status) see an
accurate picture without rescanning. */
Scan uint8
/* Verify dirty flags against the filesystem without a full scan.
When enabled, files already marked dirty are re-examined individually: a
dirty file whose on-disk content matches its tracked node (same size,
and same content when the modification time differs) has its dirty flag
cleared and is omitted from the report, unless it is also staged.
Structural dirty actions (add/move/copy/delete) are always reported.
The refreshed flags are persisted in the staged state. */
CheckDirty uint8
/* Reset the tracked state before computing status */
Reset uint8
/* Include the sync point in the report */
SyncPoint uint8
/* Only emit revision info, skipping all diffs */
RevisionOnly uint8
/* Count directories and files (view-filtered) in the staged state if
present, otherwise the current revision */
Count uint8
/* Repository-relative paths to limit the status check to; empty checks all */
Paths LoreStringArrayFFI
}
func NewLoreRepositoryStatusArgs ¶
func NewLoreRepositoryStatusArgs(opts LoreRepositoryStatusArgs) (LoreRepositoryStatusArgsFFI, func())
type LoreRepositoryStatusCountEventData ¶
type LoreRepositoryStatusCountEventData struct {
/* Number of directories in the tree, view-filtered (staged state if
present, otherwise the current revision) */
Directories uint64
/* Number of files in the tree, view-filtered (staged state if present,
otherwise the current revision) */
Files uint64
}
type LoreRepositoryStatusCountEventDataFFI ¶
type LoreRepositoryStatusCountEventDataFFI struct {
/* Number of directories in the tree, view-filtered (staged state if
present, otherwise the current revision) */
Directories uint64
/* Number of files in the tree, view-filtered (staged state if present,
otherwise the current revision) */
Files uint64
}
func (*LoreRepositoryStatusCountEventDataFFI) Clone ¶
func (e *LoreRepositoryStatusCountEventDataFFI) Clone() LoreRepositoryStatusCountEventData
type LoreRepositoryStatusFileEventData ¶
type LoreRepositoryStatusFileEventData struct {
/* Path of the file relative to the repository root. */
Path string
/* Size of the file in bytes. */
Size uint64
/* Change applied to the file, such as add, modify, delete, or move. */
Action LoreFileAction
/* Kind of node: file, directory, or link. */
Type LoreNodeType
/* Non-zero when the change is staged. */
FlagStaged bool
/* Non-zero when the change comes from a merge. */
FlagMerged bool
/* Non-zero when the file is in conflict. */
FlagConflict bool
/* Non-zero when the conflict is not yet resolved. */
FlagConflictUnresolved bool
/* Non-zero when the conflict was resolved automatically. */
FlagConflictAutomerged bool
/* Non-zero when the local side was chosen to resolve the conflict. */
FlagConflictMine bool
/* Non-zero when the incoming side was chosen to resolve the conflict. */
FlagConflictTheirs bool
/* Non-zero when the file differs from the recorded state. */
FlagDirty bool
/* Previous path of the file when it was moved or copied. Empty otherwise. */
FromPath string
}
type LoreRepositoryStatusFileEventDataFFI ¶
type LoreRepositoryStatusFileEventDataFFI struct {
/* Path of the file relative to the repository root. */
Path LoreString
/* Size of the file in bytes. */
Size uint64
/* Change applied to the file, such as add, modify, delete, or move. */
Action LoreFileAction
/* Kind of node: file, directory, or link. */
Type LoreNodeType
/* Non-zero when the change is staged. */
FlagStaged uint8
/* Non-zero when the change comes from a merge. */
FlagMerged uint8
/* Non-zero when the file is in conflict. */
FlagConflict uint8
/* Non-zero when the conflict is not yet resolved. */
FlagConflictUnresolved uint8
/* Non-zero when the conflict was resolved automatically. */
FlagConflictAutomerged uint8
/* Non-zero when the local side was chosen to resolve the conflict. */
FlagConflictMine uint8
/* Non-zero when the incoming side was chosen to resolve the conflict. */
FlagConflictTheirs uint8
/* Non-zero when the file differs from the recorded state. */
FlagDirty uint8
/* Previous path of the file when it was moved or copied. Empty otherwise. */
FromPath LoreString
}
func (*LoreRepositoryStatusFileEventDataFFI) Clone ¶
func (e *LoreRepositoryStatusFileEventDataFFI) Clone() LoreRepositoryStatusFileEventData
type LoreRepositoryStatusRevisionEventData ¶
type LoreRepositoryStatusRevisionEventData struct {
/* Repository identifier */
Repository LoreRepositoryId
/* Current branch identifier */
Branch LoreBranchId
/* Current branch name */
BranchName string
/* Current revision identifier */
Revision LoreHash
/* Current revision number */
RevisionNumber uint64
/* Staged revision identifier (zero when nothing is staged) */
RevisionStaged LoreHash
/* Incoming revision identifier of a pending merge (zero when none) */
RevisionMerged LoreHash
/* Last revision merged in from the parent branch (calculated and reported if sync point option is set). */
RevisionMergedParentBranch LoreHash
/* Local branch latest revision identifier */
RevisionLocal LoreHash
/* Local branch latest revision number */
RevisionLocalNumber uint64
/* Remote branch latest revision identifier (zero if unknown, branch not existing on remote or remote not available) */
RevisionRemote LoreHash
/* Remote branch latest revision number (zero if corresponding identifier is zero) */
RevisionRemoteNumber uint64
/* Local holds revisions not on the remote history line */
IsLocalAhead bool
/* Remote holds revisions not present locally */
IsRemoteAhead bool
/* Remote configured and reachable with a local identity; connectivity only, not authorization */
RemoteAvailable bool
/* Remote revision query returned an authoritative answer, identity is authorized to access the repository */
RemoteAuthorized bool
/* Branch exists on the remote and the query returned a latest revisoin (possibly zero if branch does not exist on remote) */
RemoteBranchExist bool
}
type LoreRepositoryStatusRevisionEventDataFFI ¶
type LoreRepositoryStatusRevisionEventDataFFI struct {
/* Repository identifier */
Repository LoreRepositoryId
/* Current branch identifier */
Branch LoreBranchId
/* Current branch name */
BranchName LoreString
/* Current revision identifier */
Revision LoreHash
/* Current revision number */
RevisionNumber uint64
/* Staged revision identifier (zero when nothing is staged) */
RevisionStaged LoreHash
/* Incoming revision identifier of a pending merge (zero when none) */
RevisionMerged LoreHash
/* Last revision merged in from the parent branch (calculated and reported if sync point option is set). */
RevisionMergedParentBranch LoreHash
/* Local branch latest revision identifier */
RevisionLocal LoreHash
/* Local branch latest revision number */
RevisionLocalNumber uint64
/* Remote branch latest revision identifier (zero if unknown, branch not existing on remote or remote not available) */
RevisionRemote LoreHash
/* Remote branch latest revision number (zero if corresponding identifier is zero) */
RevisionRemoteNumber uint64
/* Local holds revisions not on the remote history line */
IsLocalAhead uint8
/* Remote holds revisions not present locally */
IsRemoteAhead uint8
/* Remote configured and reachable with a local identity; connectivity only, not authorization */
RemoteAvailable uint8
/* Remote revision query returned an authoritative answer, identity is authorized to access the repository */
RemoteAuthorized uint8
/* Branch exists on the remote and the query returned a latest revisoin (possibly zero if branch does not exist on remote) */
RemoteBranchExist uint8
}
type LoreRepositoryStatusSummaryEventData ¶
type LoreRepositoryStatusSummaryEventData struct {
/* Number of files added. */
Adds uint64
/* Number of files deleted. */
Deletes uint64
/* Number of files modified. */
Modifies uint64
/* Number of files moved. */
Moves uint64
/* Number of files copied. */
Copies uint64
/* Number of files the answer required reading, including any that could not be read. */
HashChecks uint64
/* Number of files a recorded modified time answered for, sparing them a hash check. */
MtimeMatches uint64
}
type LoreRepositoryStatusSummaryEventDataFFI ¶
type LoreRepositoryStatusSummaryEventDataFFI struct {
/* Number of files added. */
Adds uint64
/* Number of files deleted. */
Deletes uint64
/* Number of files modified. */
Modifies uint64
/* Number of files moved. */
Moves uint64
/* Number of files copied. */
Copies uint64
/* Number of files the answer required reading, including any that could not be read. */
HashChecks uint64
/* Number of files a recorded modified time answered for, sparing them a hash check. */
MtimeMatches uint64
}
func (*LoreRepositoryStatusSummaryEventDataFFI) Clone ¶
func (e *LoreRepositoryStatusSummaryEventDataFFI) Clone() LoreRepositoryStatusSummaryEventData
type LoreRepositoryStoreImmutableQueryArgsFFI ¶
type LoreRepositoryStoreImmutableQueryArgsFFI struct {
/* Fragment address to query */
Address LoreString
/* Recurse into and query subfragments */
Recurse uint8
}
func NewLoreRepositoryStoreImmutableQueryArgs ¶
func NewLoreRepositoryStoreImmutableQueryArgs(opts LoreRepositoryStoreImmutableQueryArgs) (LoreRepositoryStoreImmutableQueryArgsFFI, func())
type LoreRepositoryStoreImmutableQueryEventData ¶
type LoreRepositoryStoreImmutableQueryEventData struct {
/* Address of fragment */
Address LoreAddress
/* Remote flag, true if results are from remote store, false if local store */
Remote bool
/* Status, where
0 = exact address exist
1 = hash exist in repository
2 = hash exist in other repository
3 = hash does not exist */
Status uint32
/* Payload flag, true if payload data is present in the store, false if not */
Payload bool
/* Subfragment flag, true if this fragment was a subfragment of the original query, false if not */
Subfragment bool
/* Internal flags */
Flags uint32
/* Payload size */
PayloadSize uint32
/* Content size */
ContentSize uint64
}
type LoreRepositoryStoreImmutableQueryEventDataFFI ¶
type LoreRepositoryStoreImmutableQueryEventDataFFI struct {
/* Address of fragment */
Address LoreAddress
/* Remote flag, true if results are from remote store, false if local store */
Remote uint8
/* Status, where
0 = exact address exist
1 = hash exist in repository
2 = hash exist in other repository
3 = hash does not exist */
Status uint32
/* Payload flag, true if payload data is present in the store, false if not */
Payload uint8
/* Subfragment flag, true if this fragment was a subfragment of the original query, false if not */
Subfragment uint8
/* Internal flags */
Flags uint32
/* Payload size */
PayloadSize uint32
/* Content size */
ContentSize uint64
}
type LoreRepositoryUpdatePathArgs ¶
type LoreRepositoryUpdatePathArgs struct {
Unused int
}
type LoreRepositoryUpdatePathArgsFFI ¶
type LoreRepositoryUpdatePathArgsFFI struct {
Unused int
}
func NewLoreRepositoryUpdatePathArgs ¶
func NewLoreRepositoryUpdatePathArgs(opts LoreRepositoryUpdatePathArgs) (LoreRepositoryUpdatePathArgsFFI, func())
type LoreRepositoryVerifyFragmentEventData ¶
type LoreRepositoryVerifyFragmentEventData struct {
/* Hash of the fragment that was verified. */
Hash LoreHash
/* Index of the group the fragment belongs to. */
GroupIndex uint32
/* Index of the bucket the fragment belongs to. */
BucketIndex uint32
/* Path of the index file examined for the fragment. */
IndexPath string
/* Number of entries in the index. */
EntryCount uint32
/* Number of entries in the pack file. */
PackfileEntryCount uint32
/* Number of stored copies found for the fragment. */
MatchCount uint32
/* The stored copies found for the fragment. */
Matches LoreRepositoryVerifyFragmentMatchEventDataArray
/* Error message produced during verification. Empty on success. */
Error string
}
type LoreRepositoryVerifyFragmentEventDataFFI ¶
type LoreRepositoryVerifyFragmentEventDataFFI struct {
/* Hash of the fragment that was verified. */
Hash LoreHash
/* Index of the group the fragment belongs to. */
GroupIndex uint32
/* Index of the bucket the fragment belongs to. */
BucketIndex uint32
/* Path of the index file examined for the fragment. */
IndexPath LoreString
/* Number of entries in the index. */
EntryCount uint32
/* Number of entries in the pack file. */
PackfileEntryCount uint32
/* Number of stored copies found for the fragment. */
MatchCount uint32
/* The stored copies found for the fragment. */
Matches LoreRepositoryVerifyFragmentMatchEventDataArrayFFI
/* Error message produced during verification. Empty on success. */
Error LoreString
}
type LoreRepositoryVerifyFragmentMatchEventData ¶
type LoreRepositoryVerifyFragmentMatchEventData struct {
/* Slot the match was found in. */
Slot uint32
/* Index of the match within the slot. */
Index uint32
/* Identifier of the repository the match belongs to. */
Repository LoreRepositoryId
/* Hash part of the fragment address. */
AddressHash LoreHash
/* Context part of the fragment address. */
AddressContext LoreContext
/* Storage flags recorded for the fragment. */
Flags uint32
/* Stored size of the fragment payload in bytes. */
SizePayload uint32
/* Size of the fragment content in bytes. */
SizeContent uint64
/* Offset of the fragment within its pack file. */
PackOffset uint32
/* Index of the pack file holding the fragment. */
PackFile uint32
/* Time the fragment was last accessed, in seconds since the Unix epoch. */
LastAccess uint64
}
type LoreRepositoryVerifyFragmentMatchEventDataArray ¶
type LoreRepositoryVerifyFragmentMatchEventDataArray = []LoreRepositoryVerifyFragmentMatchEventData
type LoreRepositoryVerifyFragmentMatchEventDataArrayFFI ¶
func (LoreRepositoryVerifyFragmentMatchEventDataArrayFFI) Get ¶
func (arr LoreRepositoryVerifyFragmentMatchEventDataArrayFFI) Get(index int) LoreRepositoryVerifyFragmentMatchEventData
func (LoreRepositoryVerifyFragmentMatchEventDataArrayFFI) Len ¶
func (arr LoreRepositoryVerifyFragmentMatchEventDataArrayFFI) Len() int
type LoreRepositoryVerifyFragmentMatchEventDataFFI ¶
type LoreRepositoryVerifyFragmentMatchEventDataFFI struct {
/* Slot the match was found in. */
Slot uint32
/* Index of the match within the slot. */
Index uint32
/* Identifier of the repository the match belongs to. */
Repository LoreRepositoryId
/* Hash part of the fragment address. */
AddressHash LoreHash
/* Context part of the fragment address. */
AddressContext LoreContext
/* Storage flags recorded for the fragment. */
Flags uint32
/* Stored size of the fragment payload in bytes. */
SizePayload uint32
/* Size of the fragment content in bytes. */
SizeContent uint64
/* Offset of the fragment within its pack file. */
PackOffset uint32
/* Index of the pack file holding the fragment. */
PackFile uint32
/* Time the fragment was last accessed, in seconds since the Unix epoch. */
LastAccess uint64
}
type LoreRepositoryVerifyFragmentRemoteEventData ¶
type LoreRepositoryVerifyFragmentRemoteEventData struct {
/* Hash part of the fragment address. */
AddressHash LoreHash
/* Context part of the fragment address. */
AddressContext LoreContext
/* Non-zero when the fragment was found to be corrupted. */
Corrupted bool
/* Non-zero when the fragment was healed. */
Healed bool
/* Error message produced during verification. Empty on success. */
Error string
}
type LoreRepositoryVerifyFragmentRemoteEventDataFFI ¶
type LoreRepositoryVerifyFragmentRemoteEventDataFFI struct {
/* Hash part of the fragment address. */
AddressHash LoreHash
/* Context part of the fragment address. */
AddressContext LoreContext
/* Non-zero when the fragment was found to be corrupted. */
Corrupted uint8
/* Non-zero when the fragment was healed. */
Healed uint8
/* Error message produced during verification. Empty on success. */
Error LoreString
}
type LoreRepositoryVerifyStateArgsFFI ¶
type LoreRepositoryVerifyStateArgsFFI struct {
/* Repository-relative path to verify; empty verifies the whole repository */
Path LoreString
/* Heal detected inconsistencies */
Heal uint8
}
func NewLoreRepositoryVerifyStateArgs ¶
func NewLoreRepositoryVerifyStateArgs(opts LoreRepositoryVerifyStateArgs) (LoreRepositoryVerifyStateArgsFFI, func())
type LoreRepositoryVerifyStateBeginEventData ¶
type LoreRepositoryVerifyStateBeginEventData struct {
/* Placeholder field. The event carries no data. */
Unused uint32
}
type LoreRepositoryVerifyStateBeginEventDataFFI ¶
type LoreRepositoryVerifyStateBeginEventDataFFI struct {
/* Placeholder field. The event carries no data. */
Unused uint32
}
type LoreRepositoryVerifyStateEndEventData ¶
type LoreRepositoryVerifyStateEndEventData struct {
/* Identifier of the staged state after healing. Zero when nothing was healed. */
HealedStagedState LoreHash
}
type LoreRepositoryVerifyStateEndEventDataFFI ¶
type LoreRepositoryVerifyStateEndEventDataFFI struct {
/* Identifier of the staged state after healing. Zero when nothing was healed. */
HealedStagedState LoreHash
}
type LoreRevertAbortBeginEventDataFFI ¶
type LoreRevertAbortBeginEventDataFFI struct {
/* Identifier of the staged revision being discarded. */
StateStagedRevision LoreHash
/* Identifier of the current revision being restored. */
StateCurrentRevision LoreHash
}
func (*LoreRevertAbortBeginEventDataFFI) Clone ¶
func (e *LoreRevertAbortBeginEventDataFFI) Clone() LoreRevertAbortBeginEventData
type LoreRevertAbortEndEventData ¶
type LoreRevertAbortEndEventData struct {
/* Unused placeholder field. */
Unused uint32
}
type LoreRevertAbortEndEventDataFFI ¶
type LoreRevertAbortEndEventDataFFI struct {
/* Unused placeholder field. */
Unused uint32
}
func (*LoreRevertAbortEndEventDataFFI) Clone ¶
func (e *LoreRevertAbortEndEventDataFFI) Clone() LoreRevertAbortEndEventData
type LoreRevertConflictFileEventData ¶
type LoreRevertConflictFileEventData struct {
/* Path of the file. */
Path string
}
type LoreRevertConflictFileEventDataFFI ¶
type LoreRevertConflictFileEventDataFFI struct {
/* Path of the file. */
Path LoreString
}
func (*LoreRevertConflictFileEventDataFFI) Clone ¶
func (e *LoreRevertConflictFileEventDataFFI) Clone() LoreRevertConflictFileEventData
type LoreRevertResolveFileEventData ¶
type LoreRevertResolveFileEventData struct {
/* Path of the file. */
Path string
}
type LoreRevertResolveFileEventDataFFI ¶
type LoreRevertResolveFileEventDataFFI struct {
/* Path of the file. */
Path LoreString
}
func (*LoreRevertResolveFileEventDataFFI) Clone ¶
func (e *LoreRevertResolveFileEventDataFFI) Clone() LoreRevertResolveFileEventData
type LoreRevertResolveRevisionEventData ¶
type LoreRevertResolveRevisionEventData struct {
/* Repository identifier. */
Repository LoreRepositoryId
/* Identifier of the revision. */
Revision LoreHash
}
type LoreRevertResolveRevisionEventDataFFI ¶
type LoreRevertResolveRevisionEventDataFFI struct {
/* Repository identifier. */
Repository LoreRepositoryId
/* Identifier of the revision. */
Revision LoreHash
}
func (*LoreRevertResolveRevisionEventDataFFI) Clone ¶
func (e *LoreRevertResolveRevisionEventDataFFI) Clone() LoreRevertResolveRevisionEventData
type LoreRevertStartBeginEventData ¶
type LoreRevertStartBeginEventData struct {
/* Branch identifier. */
Branch LoreBranchId
/* Identifier of the revision being reverted. */
Revision LoreHash
/* Number of the revision being reverted. */
RevisionNumber uint64
}
type LoreRevertStartBeginEventDataFFI ¶
type LoreRevertStartBeginEventDataFFI struct {
/* Branch identifier. */
Branch LoreBranchId
/* Identifier of the revision being reverted. */
Revision LoreHash
/* Number of the revision being reverted. */
RevisionNumber uint64
}
func (*LoreRevertStartBeginEventDataFFI) Clone ¶
func (e *LoreRevertStartBeginEventDataFFI) Clone() LoreRevertStartBeginEventData
type LoreRevertStartEndEventData ¶
type LoreRevertStartEndEventData struct {
/* Progress statistics for the applied changes. */
Stats LoreRevisionSyncProgressEventData
/* Resulting revision hash signature. */
Signature LoreHash
/* Flag indicating the revert produced conflicts. */
HasConflicts bool
}
type LoreRevertStartEndEventDataFFI ¶
type LoreRevertStartEndEventDataFFI struct {
/* Progress statistics for the applied changes. */
Stats LoreRevisionSyncProgressEventDataFFI
/* Resulting revision hash signature. */
Signature LoreHash
/* Flag indicating the revert produced conflicts. */
HasConflicts uint8
}
func (*LoreRevertStartEndEventDataFFI) Clone ¶
func (e *LoreRevertStartEndEventDataFFI) Clone() LoreRevertStartEndEventData
type LoreRevertUnresolveFileEventData ¶
type LoreRevertUnresolveFileEventData struct {
/* Path of the file. */
Path string
}
type LoreRevertUnresolveFileEventDataFFI ¶
type LoreRevertUnresolveFileEventDataFFI struct {
/* Path of the file. */
Path LoreString
}
func (*LoreRevertUnresolveFileEventDataFFI) Clone ¶
func (e *LoreRevertUnresolveFileEventDataFFI) Clone() LoreRevertUnresolveFileEventData
type LoreRevertUnresolveRevisionEventData ¶
type LoreRevertUnresolveRevisionEventData struct {
/* Repository identifier. */
Repository LoreRepositoryId
/* Identifier of the revision. */
Revision LoreHash
}
type LoreRevertUnresolveRevisionEventDataFFI ¶
type LoreRevertUnresolveRevisionEventDataFFI struct {
/* Repository identifier. */
Repository LoreRepositoryId
/* Identifier of the revision. */
Revision LoreHash
}
func (*LoreRevertUnresolveRevisionEventDataFFI) Clone ¶
func (e *LoreRevertUnresolveRevisionEventDataFFI) Clone() LoreRevertUnresolveRevisionEventData
type LoreRevisionAmendArgs ¶
type LoreRevisionAmendArgs struct {
/* New commit message */
Message string
}
type LoreRevisionAmendArgsFFI ¶
type LoreRevisionAmendArgsFFI struct {
/* New commit message */
Message LoreString
}
func NewLoreRevisionAmendArgs ¶
func NewLoreRevisionAmendArgs(opts LoreRevisionAmendArgs) (LoreRevisionAmendArgsFFI, func())
type LoreRevisionBisectEventData ¶
type LoreRevisionBisectEventData struct {
/* Revision number at the start of the search range. */
StartRevisionNumber uint64
/* Revision number selected to test next. */
TargetRevisionNumber uint64
/* Revision number at the end of the search range. */
EndRevisionNumber uint64
/* Flag indicating the search has finished. */
Done bool
}
type LoreRevisionBisectEventDataFFI ¶
type LoreRevisionBisectEventDataFFI struct {
/* Revision number at the start of the search range. */
StartRevisionNumber uint64
/* Revision number selected to test next. */
TargetRevisionNumber uint64
/* Revision number at the end of the search range. */
EndRevisionNumber uint64
/* Flag indicating the search has finished. */
Done uint8
}
func (*LoreRevisionBisectEventDataFFI) Clone ¶
func (e *LoreRevisionBisectEventDataFFI) Clone() LoreRevisionBisectEventData
type LoreRevisionCommitArgs ¶
type LoreRevisionCommitArgs struct {
/* Commit message */
Message string
/* If set, commit only this linked repository (mount path relative to repo root) */
Link string
/* Array of link relative paths that have specific messages */
LinkPaths []string
/* Array of messages corresponding to each link path (parallel array with `link_paths`) */
LinkMessages []string
/* If set, commit only this layer (mount path relative to repo root) */
Layer string
/* Array of layer mount paths that have specific messages */
LayerPaths []string
/* Array of messages corresponding to each layer path (parallel array with `layer_paths`) */
LayerMessages []string
/* Emit per-fragment write stats during the commit */
Stats bool
}
type LoreRevisionCommitArgsFFI ¶
type LoreRevisionCommitArgsFFI struct {
/* Commit message */
Message LoreString
/* If set, commit only this linked repository (mount path relative to repo root) */
Link LoreString
/* Array of link relative paths that have specific messages */
LinkPaths LoreStringArrayFFI
/* Array of messages corresponding to each link path (parallel array with `link_paths`) */
LinkMessages LoreStringArrayFFI
/* If set, commit only this layer (mount path relative to repo root) */
Layer LoreString
/* Array of layer mount paths that have specific messages */
LayerPaths LoreStringArrayFFI
/* Array of messages corresponding to each layer path (parallel array with `layer_paths`) */
LayerMessages LoreStringArrayFFI
/* Emit per-fragment write stats during the commit */
Stats uint8
}
func NewLoreRevisionCommitArgs ¶
func NewLoreRevisionCommitArgs(opts LoreRevisionCommitArgs) (LoreRevisionCommitArgsFFI, func())
type LoreRevisionCommitBeginEventData ¶
type LoreRevisionCommitBeginEventData struct {
/* Unused placeholder field. */
Unused uint32
}
type LoreRevisionCommitBeginEventDataFFI ¶
type LoreRevisionCommitBeginEventDataFFI struct {
/* Unused placeholder field. */
Unused uint32
}
func (*LoreRevisionCommitBeginEventDataFFI) Clone ¶
func (e *LoreRevisionCommitBeginEventDataFFI) Clone() LoreRevisionCommitBeginEventData
type LoreRevisionCommitCountData ¶
type LoreRevisionCommitCountData struct {
/* Number of directories processed so far. */
DirectoryCount uint64
/* Total number of directories to process. */
DirectoryTotal uint64
/* Number of files processed so far. */
FileCount uint64
/* Total number of files to process. */
FileTotal uint64
/* Number of directories deleted. */
DirectoryDeleteCount uint64
/* Number of files modified. */
FileModifyCount uint64
/* Number of files deleted. */
FileDeleteCount uint64
/* Number of content bytes transferred so far. */
BytesTransferred uint64
/* Total number of content bytes to transfer. */
BytesTotal uint64
/* Set when file and directory discovery has finished. */
DiscoveryComplete bool
}
type LoreRevisionCommitCountDataFFI ¶
type LoreRevisionCommitCountDataFFI struct {
/* Number of directories processed so far. */
DirectoryCount uint64
/* Total number of directories to process. */
DirectoryTotal uint64
/* Number of files processed so far. */
FileCount uint64
/* Total number of files to process. */
FileTotal uint64
/* Number of directories deleted. */
DirectoryDeleteCount uint64
/* Number of files modified. */
FileModifyCount uint64
/* Number of files deleted. */
FileDeleteCount uint64
/* Number of content bytes transferred so far. */
BytesTransferred uint64
/* Total number of content bytes to transfer. */
BytesTotal uint64
/* Set when file and directory discovery has finished. */
DiscoveryComplete uint8
}
func NewLoreRevisionCommitCountData ¶
func NewLoreRevisionCommitCountData(opts LoreRevisionCommitCountData) (LoreRevisionCommitCountDataFFI, func())
func (*LoreRevisionCommitCountDataFFI) Clone ¶
func (e *LoreRevisionCommitCountDataFFI) Clone() LoreRevisionCommitCountData
type LoreRevisionCommitEndEventData ¶
type LoreRevisionCommitEndEventData struct {
/* Final progress counters. */
Count LoreRevisionCommitCountData
}
type LoreRevisionCommitEndEventDataFFI ¶
type LoreRevisionCommitEndEventDataFFI struct {
/* Final progress counters. */
Count LoreRevisionCommitCountDataFFI
}
func (*LoreRevisionCommitEndEventDataFFI) Clone ¶
func (e *LoreRevisionCommitEndEventDataFFI) Clone() LoreRevisionCommitEndEventData
type LoreRevisionCommitProgressEventData ¶
type LoreRevisionCommitProgressEventData struct {
/* Current progress counters. */
Count LoreRevisionCommitCountData
}
type LoreRevisionCommitProgressEventDataFFI ¶
type LoreRevisionCommitProgressEventDataFFI struct {
/* Current progress counters. */
Count LoreRevisionCommitCountDataFFI
}
func (*LoreRevisionCommitProgressEventDataFFI) Clone ¶
func (e *LoreRevisionCommitProgressEventDataFFI) Clone() LoreRevisionCommitProgressEventData
type LoreRevisionCommitRevisionEventData ¶
type LoreRevisionCommitRevisionEventData struct {
/* Identifier of the repository the revision belongs to. */
Repository LoreRepositoryId
/* Identifier of the branch the revision was committed on. */
Branch LoreBranchId
/* Signature of the committed revision. */
Revision LoreHash
/* Sequential number of the revision. */
RevisionNumber uint64
/* Signature of the first parent revision. */
Parent LoreHash
/* Signature of the second parent revision, set for a merge. */
ParentOther LoreHash
}
type LoreRevisionCommitRevisionEventDataFFI ¶
type LoreRevisionCommitRevisionEventDataFFI struct {
/* Identifier of the repository the revision belongs to. */
Repository LoreRepositoryId
/* Identifier of the branch the revision was committed on. */
Branch LoreBranchId
/* Signature of the committed revision. */
Revision LoreHash
/* Sequential number of the revision. */
RevisionNumber uint64
/* Signature of the first parent revision. */
Parent LoreHash
/* Signature of the second parent revision, set for a merge. */
ParentOther LoreHash
}
func (*LoreRevisionCommitRevisionEventDataFFI) Clone ¶
func (e *LoreRevisionCommitRevisionEventDataFFI) Clone() LoreRevisionCommitRevisionEventData
type LoreRevisionDiffArgs ¶
type LoreRevisionDiffArgsFFI ¶
type LoreRevisionDiffArgsFFI struct {
/* Source revision to diff from */
RevisionSource LoreString
/* Target revision to diff to; empty for current */
RevisionTarget LoreString
/* Repository-relative paths to restrict the diff to; empty for all */
Paths LoreStringArrayFFI
}
func NewLoreRevisionDiffArgs ¶
func NewLoreRevisionDiffArgs(opts LoreRevisionDiffArgs) (LoreRevisionDiffArgsFFI, func())
type LoreRevisionDiffFileEventData ¶
type LoreRevisionDiffFileEventData struct {
/* Path of the file relative to the repository root. */
Path string
/* Action applied to the file. */
Action LoreFileAction
/* Flag indicating the entry on the source side is a file rather than a directory. */
OldIsFile bool
/* Flag indicating the entry on the target side is a file rather than a directory. */
NewIsFile bool
/* Address of the file content on the source side. */
OldAddress LoreAddress
/* Address of the file content on the target side. */
NewAddress LoreAddress
/* Previous path of the file when it was moved or copied. Empty otherwise. */
FromPath string
}
type LoreRevisionDiffFileEventDataFFI ¶
type LoreRevisionDiffFileEventDataFFI struct {
/* Path of the file relative to the repository root. */
Path LoreString
/* Action applied to the file. */
Action LoreFileAction
/* Flag indicating the entry on the source side is a file rather than a directory. */
OldIsFile uint8
/* Flag indicating the entry on the target side is a file rather than a directory. */
NewIsFile uint8
/* Address of the file content on the source side. */
OldAddress LoreAddress
/* Address of the file content on the target side. */
NewAddress LoreAddress
/* Previous path of the file when it was moved or copied. Empty otherwise. */
FromPath LoreString
}
func (*LoreRevisionDiffFileEventDataFFI) Clone ¶
func (e *LoreRevisionDiffFileEventDataFFI) Clone() LoreRevisionDiffFileEventData
type LoreRevisionFindArgs ¶
type LoreRevisionFindArgsFFI ¶
type LoreRevisionFindArgsFFI struct {
/* Metadata key to search for; non-empty selects key/value search */
Key LoreString
/* Metadata value to match against `key` */
Value LoreString
/* Revision number to search for when `key` is empty; 0 disables */
Number uint64
}
func NewLoreRevisionFindArgs ¶
func NewLoreRevisionFindArgs(opts LoreRevisionFindArgs) (LoreRevisionFindArgsFFI, func())
type LoreRevisionFindEventData ¶
type LoreRevisionFindEventData struct {
/* Signature of the revision that was found. */
Signature LoreHash
}
type LoreRevisionFindEventDataFFI ¶
type LoreRevisionFindEventDataFFI struct {
/* Signature of the revision that was found. */
Signature LoreHash
}
func (*LoreRevisionFindEventDataFFI) Clone ¶
func (e *LoreRevisionFindEventDataFFI) Clone() LoreRevisionFindEventData
type LoreRevisionHistoryArgs ¶
type LoreRevisionHistoryArgs struct {
/* Start from this revision; empty for current */
Revision string
/* Restrict to this branch; empty for current */
Branch string
/* Stop at revisions created before this date (Unix timestamp; 0 disables) */
Date uint64
/* Maximum number of revisions to return; 0 for unlimited */
Length uint32
/* Stop when reaching a different branch */
OnlyBranch bool
}
type LoreRevisionHistoryArgsFFI ¶
type LoreRevisionHistoryArgsFFI struct {
/* Start from this revision; empty for current */
Revision LoreString
/* Restrict to this branch; empty for current */
Branch LoreString
/* Stop at revisions created before this date (Unix timestamp; 0 disables) */
Date uint64
/* Maximum number of revisions to return; 0 for unlimited */
Length uint32
/* Stop when reaching a different branch */
OnlyBranch uint8
}
func NewLoreRevisionHistoryArgs ¶
func NewLoreRevisionHistoryArgs(opts LoreRevisionHistoryArgs) (LoreRevisionHistoryArgsFFI, func())
type LoreRevisionHistoryEntryEventDataFFI ¶
type LoreRevisionHistoryEntryEventDataFFI struct {
/* Revision hash signature. */
Revision LoreHash
/* Revision number. */
RevisionNumber uint64
/* Parent revision hashes; the first is the direct parent and the second
is the other parent of a merge, or zero when there is none. */
Parent [2]LoreHash
}
func (*LoreRevisionHistoryEntryEventDataFFI) Clone ¶
func (e *LoreRevisionHistoryEntryEventDataFFI) Clone() LoreRevisionHistoryEntryEventData
type LoreRevisionHistoryEventData ¶
type LoreRevisionHistoryEventData struct {
/* Repository identifier the history belongs to. */
Repository LoreRepositoryId
/* Branch identifier the history is listed for. */
Branch LoreBranchId
}
type LoreRevisionHistoryEventDataFFI ¶
type LoreRevisionHistoryEventDataFFI struct {
/* Repository identifier the history belongs to. */
Repository LoreRepositoryId
/* Branch identifier the history is listed for. */
Branch LoreBranchId
}
func (*LoreRevisionHistoryEventDataFFI) Clone ¶
func (e *LoreRevisionHistoryEventDataFFI) Clone() LoreRevisionHistoryEventData
type LoreRevisionInfoArgs ¶
type LoreRevisionInfoArgsFFI ¶
type LoreRevisionInfoArgsFFI struct {
/* Revision to get info for; empty for current */
Revision LoreString
/* Include delta against parent */
Delta uint8
/* Include file metadata entries */
Metadata uint8
}
func NewLoreRevisionInfoArgs ¶
func NewLoreRevisionInfoArgs(opts LoreRevisionInfoArgs) (LoreRevisionInfoArgsFFI, func())
type LoreRevisionInfoDeltaEventData ¶
type LoreRevisionInfoDeltaEventData struct {
/* Path of the file relative to the repository root. */
Path string
/* Size of the file in bytes. */
Size uint64
/* Action applied to the file. */
Action LoreFileAction
/* Flag indicating the file content was modified. */
FlagModify bool
/* Flag indicating the change came from a merge. */
FlagMerged bool
/* Flag indicating the entry is a file rather than a directory. */
FlagFile bool
}
type LoreRevisionInfoDeltaEventDataFFI ¶
type LoreRevisionInfoDeltaEventDataFFI struct {
/* Path of the file relative to the repository root. */
Path LoreString
/* Size of the file in bytes. */
Size uint64
/* Action applied to the file. */
Action LoreFileAction
/* Flag indicating the file content was modified. */
FlagModify uint8
/* Flag indicating the change came from a merge. */
FlagMerged uint8
/* Flag indicating the entry is a file rather than a directory. */
FlagFile uint8
}
func (*LoreRevisionInfoDeltaEventDataFFI) Clone ¶
func (e *LoreRevisionInfoDeltaEventDataFFI) Clone() LoreRevisionInfoDeltaEventData
type LoreRevisionInfoEventData ¶
type LoreRevisionInfoEventData struct {
/* Repository identifier the revision belongs to. */
Repository LoreRepositoryId
/* Revision hash signature. */
Revision LoreHash
/* Revision number. */
RevisionNumber uint64
/* Parent revision hashes; the first is the direct parent and the second
is the other parent of a merge, or zero when there is none. */
Parent [2]LoreHash
}
type LoreRevisionInfoEventDataFFI ¶
type LoreRevisionInfoEventDataFFI struct {
/* Repository identifier the revision belongs to. */
Repository LoreRepositoryId
/* Revision hash signature. */
Revision LoreHash
/* Revision number. */
RevisionNumber uint64
/* Parent revision hashes; the first is the direct parent and the second
is the other parent of a merge, or zero when there is none. */
Parent [2]LoreHash
}
func (*LoreRevisionInfoEventDataFFI) Clone ¶
func (e *LoreRevisionInfoEventDataFFI) Clone() LoreRevisionInfoEventData
type LoreRevisionMetadataClearArgs ¶
type LoreRevisionMetadataClearArgs struct {
Unused int
}
type LoreRevisionMetadataClearArgsFFI ¶
type LoreRevisionMetadataClearArgsFFI struct {
Unused int
}
func NewLoreRevisionMetadataClearArgs ¶
func NewLoreRevisionMetadataClearArgs(opts LoreRevisionMetadataClearArgs) (LoreRevisionMetadataClearArgsFFI, func())
type LoreRevisionMetadataGetArgsFFI ¶
type LoreRevisionMetadataGetArgsFFI struct {
/* Metadata key to look up */
Key LoreString
/* Revision to get metadata for; empty for current */
Revision LoreString
}
func NewLoreRevisionMetadataGetArgs ¶
func NewLoreRevisionMetadataGetArgs(opts LoreRevisionMetadataGetArgs) (LoreRevisionMetadataGetArgsFFI, func())
type LoreRevisionMetadataListArgs ¶
type LoreRevisionMetadataListArgs struct {
/* Revision to list metadata for; empty for current */
Revision string
}
type LoreRevisionMetadataListArgsFFI ¶
type LoreRevisionMetadataListArgsFFI struct {
/* Revision to list metadata for; empty for current */
Revision LoreString
}
func NewLoreRevisionMetadataListArgs ¶
func NewLoreRevisionMetadataListArgs(opts LoreRevisionMetadataListArgs) (LoreRevisionMetadataListArgsFFI, func())
type LoreRevisionMetadataSetArgs ¶
type LoreRevisionMetadataSetArgs struct {
/* Metadata keys (parallel with `values` and `formats`) */
Keys []string
/* Metadata values, decoded per the matching format */
Values []string
/* Value type for each entry */
Formats LoreMetadataTypeArray
}
type LoreRevisionMetadataSetArgsFFI ¶
type LoreRevisionMetadataSetArgsFFI struct {
/* Metadata keys (parallel with `values` and `formats`) */
Keys LoreStringArrayFFI
/* Metadata values, decoded per the matching format */
Values LoreStringArrayFFI
/* Value type for each entry */
Formats LoreMetadataTypeArrayFFI
}
func NewLoreRevisionMetadataSetArgs ¶
func NewLoreRevisionMetadataSetArgs(opts LoreRevisionMetadataSetArgs) (LoreRevisionMetadataSetArgsFFI, func())
type LoreRevisionResolveEventData ¶
type LoreRevisionResolveEventData struct {
/* Repository identifier in which repository */
Repository LoreRepositoryId
/* Identifier of the branch on which resolution is being done */
Branch LoreBranchId
/* If set to non-empty, the partial hash being resolved */
Revision string
/* If set to non-zero, the revision number being resolved */
RevisionNumber uint64
/* Resolving using remote data */
Remote bool
/* Resolving using local data */
Local bool
}
type LoreRevisionResolveEventDataFFI ¶
type LoreRevisionResolveEventDataFFI struct {
/* Repository identifier in which repository */
Repository LoreRepositoryId
/* Identifier of the branch on which resolution is being done */
Branch LoreBranchId
/* If set to non-empty, the partial hash being resolved */
Revision LoreString
/* If set to non-zero, the revision number being resolved */
RevisionNumber uint64
/* Resolving using remote data */
Remote uint8
/* Resolving using local data */
Local uint8
}
func (*LoreRevisionResolveEventDataFFI) Clone ¶
func (e *LoreRevisionResolveEventDataFFI) Clone() LoreRevisionResolveEventData
type LoreRevisionRestoreArgs ¶
type LoreRevisionRestoreArgs struct {
/* Commit message for the restored revision */
Message string
}
type LoreRevisionRestoreArgsFFI ¶
type LoreRevisionRestoreArgsFFI struct {
/* Commit message for the restored revision */
Message LoreString
}
func NewLoreRevisionRestoreArgs ¶
func NewLoreRevisionRestoreArgs(opts LoreRevisionRestoreArgs) (LoreRevisionRestoreArgsFFI, func())
type LoreRevisionRestoreFileBeginEventData ¶
type LoreRevisionRestoreFileBeginEventData struct {
/* Number of files to process. */
Count uintptr
}
type LoreRevisionRestoreFileBeginEventDataFFI ¶
type LoreRevisionRestoreFileBeginEventDataFFI struct {
/* Number of files to process. */
Count uintptr
}
type LoreRevisionRestoreFileEndEventData ¶
type LoreRevisionRestoreFileEndEventData struct {
/* Number of files processed. */
Count uintptr
}
type LoreRevisionRestoreFileEndEventDataFFI ¶
type LoreRevisionRestoreFileEndEventDataFFI struct {
/* Number of files processed. */
Count uintptr
}
func (*LoreRevisionRestoreFileEndEventDataFFI) Clone ¶
func (e *LoreRevisionRestoreFileEndEventDataFFI) Clone() LoreRevisionRestoreFileEndEventData
type LoreRevisionRestoreFileEventData ¶
type LoreRevisionRestoreFileEventData struct {
/* Path of the file. */
Path string
/* Action applied to the file. */
Action LoreFileAction
/* Size of the file in bytes. */
Size uint64
/* Flag indicating the entry is a file. */
IsFile bool
/* Flag indicating the entry is a directory. */
IsDirectory bool
/* Flag indicating the entry is a module. */
IsModule bool
}
type LoreRevisionRestoreFileEventDataFFI ¶
type LoreRevisionRestoreFileEventDataFFI struct {
/* Path of the file. */
Path LoreString
/* Action applied to the file. */
Action LoreFileAction
/* Size of the file in bytes. */
Size uint64
/* Flag indicating the entry is a file. */
IsFile uint8
/* Flag indicating the entry is a directory. */
IsDirectory uint8
/* Flag indicating the entry is a module. */
IsModule uint8
}
func (*LoreRevisionRestoreFileEventDataFFI) Clone ¶
func (e *LoreRevisionRestoreFileEventDataFFI) Clone() LoreRevisionRestoreFileEventData
type LoreRevisionRestoreFragmentBeginEventData ¶
type LoreRevisionRestoreFragmentBeginEventData struct {
/* Number of fragments to transfer. */
Fragments uint64
}
type LoreRevisionRestoreFragmentBeginEventDataFFI ¶
type LoreRevisionRestoreFragmentBeginEventDataFFI struct {
/* Number of fragments to transfer. */
Fragments uint64
}
type LoreRevisionRestoreFragmentEndEventData ¶
type LoreRevisionRestoreFragmentEndEventData struct {
/* Number of fragments transferred. */
Fragments uint64
}
type LoreRevisionRestoreFragmentEndEventDataFFI ¶
type LoreRevisionRestoreFragmentEndEventDataFFI struct {
/* Number of fragments transferred. */
Fragments uint64
}
type LoreRevisionRestoreFragmentProgressEventDataFFI ¶
type LoreRevisionRestoreFragmentProgressEventDataFFI struct {
/* Number of fragments completed. */
Complete uint64
/* Total number of fragments. */
Count uint64
}
type LoreRevisionRestoreRevisionEventDataFFI ¶
type LoreRevisionRestoreRevisionEventDataFFI struct {
/* Resulting revision hash signature. */
Revision LoreHash
/* Resulting revision number. */
RevisionNumber uint64
}
func (*LoreRevisionRestoreRevisionEventDataFFI) Clone ¶
func (e *LoreRevisionRestoreRevisionEventDataFFI) Clone() LoreRevisionRestoreRevisionEventData
type LoreRevisionRestoreSyncBeginEventData ¶
type LoreRevisionRestoreSyncBeginEventData struct {
/* Number of changes to apply. */
Count uintptr
}
type LoreRevisionRestoreSyncBeginEventDataFFI ¶
type LoreRevisionRestoreSyncBeginEventDataFFI struct {
/* Number of changes to apply. */
Count uintptr
}
type LoreRevisionRestoreSyncEndEventData ¶
type LoreRevisionRestoreSyncEndEventData struct {
/* Number of changes applied. */
Count uintptr
}
type LoreRevisionRestoreSyncEndEventDataFFI ¶
type LoreRevisionRestoreSyncEndEventDataFFI struct {
/* Number of changes applied. */
Count uintptr
}
func (*LoreRevisionRestoreSyncEndEventDataFFI) Clone ¶
func (e *LoreRevisionRestoreSyncEndEventDataFFI) Clone() LoreRevisionRestoreSyncEndEventData
type LoreRevisionRevertAbortArgs ¶
type LoreRevisionRevertAbortArgs struct {
Unused int
}
type LoreRevisionRevertAbortArgsFFI ¶
type LoreRevisionRevertAbortArgsFFI struct {
Unused int
}
func NewLoreRevisionRevertAbortArgs ¶
func NewLoreRevisionRevertAbortArgs(opts LoreRevisionRevertAbortArgs) (LoreRevisionRevertAbortArgsFFI, func())
type LoreRevisionRevertArgs ¶
type LoreRevisionRevertArgsFFI ¶
type LoreRevisionRevertArgsFFI struct {
/* Revision to revert */
Revision LoreString
/* Message to use for an auto-commit if no conflicts arise */
Message LoreString
/* Disable auto-commit even if no conflicts arise */
NoCommit uint8
}
func NewLoreRevisionRevertArgs ¶
func NewLoreRevisionRevertArgs(opts LoreRevisionRevertArgs) (LoreRevisionRevertArgsFFI, func())
type LoreRevisionRevertResolveArgs ¶
type LoreRevisionRevertResolveArgs struct {
/* Repository-relative paths to mark resolved */
Paths []string
}
type LoreRevisionRevertResolveArgsFFI ¶
type LoreRevisionRevertResolveArgsFFI struct {
/* Repository-relative paths to mark resolved */
Paths LoreStringArrayFFI
}
func NewLoreRevisionRevertResolveArgs ¶
func NewLoreRevisionRevertResolveArgs(opts LoreRevisionRevertResolveArgs) (LoreRevisionRevertResolveArgsFFI, func())
type LoreRevisionRevertResolveMineArgs ¶
type LoreRevisionRevertResolveMineArgs struct {
/* Repository-relative paths to resolve in favor of "mine" */
Paths []string
}
type LoreRevisionRevertResolveMineArgsFFI ¶
type LoreRevisionRevertResolveMineArgsFFI struct {
/* Repository-relative paths to resolve in favor of "mine" */
Paths LoreStringArrayFFI
}
func NewLoreRevisionRevertResolveMineArgs ¶
func NewLoreRevisionRevertResolveMineArgs(opts LoreRevisionRevertResolveMineArgs) (LoreRevisionRevertResolveMineArgsFFI, func())
type LoreRevisionRevertResolveTheirsArgs ¶
type LoreRevisionRevertResolveTheirsArgs struct {
/* Repository-relative paths to resolve in favor of "theirs" */
Paths []string
}
type LoreRevisionRevertResolveTheirsArgsFFI ¶
type LoreRevisionRevertResolveTheirsArgsFFI struct {
/* Repository-relative paths to resolve in favor of "theirs" */
Paths LoreStringArrayFFI
}
func NewLoreRevisionRevertResolveTheirsArgs ¶
func NewLoreRevisionRevertResolveTheirsArgs(opts LoreRevisionRevertResolveTheirsArgs) (LoreRevisionRevertResolveTheirsArgsFFI, func())
type LoreRevisionRevertRestartArgs ¶
type LoreRevisionRevertRestartArgs struct {
/* Repository-relative paths to re-materialize for resolution */
Paths []string
}
type LoreRevisionRevertRestartArgsFFI ¶
type LoreRevisionRevertRestartArgsFFI struct {
/* Repository-relative paths to re-materialize for resolution */
Paths LoreStringArrayFFI
}
func NewLoreRevisionRevertRestartArgs ¶
func NewLoreRevisionRevertRestartArgs(opts LoreRevisionRevertRestartArgs) (LoreRevisionRevertRestartArgsFFI, func())
type LoreRevisionRevertUnresolveArgs ¶
type LoreRevisionRevertUnresolveArgs struct {
/* Repository-relative paths to mark unresolved */
Paths []string
}
type LoreRevisionRevertUnresolveArgsFFI ¶
type LoreRevisionRevertUnresolveArgsFFI struct {
/* Repository-relative paths to mark unresolved */
Paths LoreStringArrayFFI
}
func NewLoreRevisionRevertUnresolveArgs ¶
func NewLoreRevisionRevertUnresolveArgs(opts LoreRevisionRevertUnresolveArgs) (LoreRevisionRevertUnresolveArgsFFI, func())
type LoreRevisionSyncArgs ¶
type LoreRevisionSyncArgs struct {
/* Revision to synchronize to; empty for branch tip */
Revision string
/* Fast forward and keep local changes when syncing to a local revision */
ForwardChanges bool
/* Reset local modified files to match the incoming revision */
Reset bool
/* Root files for dependency-based selective sync */
RootFiles []string
/* Tags to filter dependencies by during resolution */
DependencyTags []string
/* Follow transitive dependencies recursively */
DependencyRecursive bool
/* Maximum dependency traversal depth; 0 means unlimited */
DependencyDepthLimit uint32
}
type LoreRevisionSyncArgsFFI ¶
type LoreRevisionSyncArgsFFI struct {
/* Revision to synchronize to; empty for branch tip */
Revision LoreString
/* Fast forward and keep local changes when syncing to a local revision */
ForwardChanges uint8
/* Reset local modified files to match the incoming revision */
Reset uint8
/* Root files for dependency-based selective sync */
RootFiles LoreStringArrayFFI
/* Tags to filter dependencies by during resolution */
DependencyTags LoreStringArrayFFI
/* Follow transitive dependencies recursively */
DependencyRecursive uint8
/* Maximum dependency traversal depth; 0 means unlimited */
DependencyDepthLimit uint32
}
func NewLoreRevisionSyncArgs ¶
func NewLoreRevisionSyncArgs(opts LoreRevisionSyncArgs) (LoreRevisionSyncArgsFFI, func())
type LoreRevisionSyncFileEventData ¶
type LoreRevisionSyncFileEventData struct {
/* Path of the file relative to the repository root. */
Path string
/* Size of the file in bytes. */
Size uint64
/* Action applied to the file. */
Action LoreFileAction
/* Flag indicating the entry is a file rather than a directory. */
FlagFile bool
}
type LoreRevisionSyncFileEventDataFFI ¶
type LoreRevisionSyncFileEventDataFFI struct {
/* Path of the file relative to the repository root. */
Path LoreString
/* Size of the file in bytes. */
Size uint64
/* Action applied to the file. */
Action LoreFileAction
/* Flag indicating the entry is a file rather than a directory. */
FlagFile uint8
}
func (*LoreRevisionSyncFileEventDataFFI) Clone ¶
func (e *LoreRevisionSyncFileEventDataFFI) Clone() LoreRevisionSyncFileEventData
type LoreRevisionSyncProgressEventData ¶
type LoreRevisionSyncProgressEventData struct {
/* Number of files updated so far. */
FileUpdate uintptr
/* Total number of files to update. */
FileUpdateTotal uintptr
/* Number of files deleted so far. */
FileDelete uintptr
/* Total number of files to delete. */
FileDeleteTotal uintptr
/* Number of files merged automatically so far. */
FileAutomerge uintptr
/* Number of files with conflicts so far. */
FileConflict uintptr
/* Number of bytes updated so far. */
BytesUpdate uint64
/* Total number of bytes to update. */
BytesUpdateTotal uint64
/* Flag indicating discovery of the work to do has finished. */
DiscoveryComplete bool
}
type LoreRevisionSyncProgressEventDataFFI ¶
type LoreRevisionSyncProgressEventDataFFI struct {
/* Number of files updated so far. */
FileUpdate uintptr
/* Total number of files to update. */
FileUpdateTotal uintptr
/* Number of files deleted so far. */
FileDelete uintptr
/* Total number of files to delete. */
FileDeleteTotal uintptr
/* Number of files merged automatically so far. */
FileAutomerge uintptr
/* Number of files with conflicts so far. */
FileConflict uintptr
/* Number of bytes updated so far. */
BytesUpdate uint64
/* Total number of bytes to update. */
BytesUpdateTotal uint64
/* Flag indicating discovery of the work to do has finished. */
DiscoveryComplete uint8
}
func (*LoreRevisionSyncProgressEventDataFFI) Clone ¶
func (e *LoreRevisionSyncProgressEventDataFFI) Clone() LoreRevisionSyncProgressEventData
type LoreRevisionSyncRevisionEventData ¶
type LoreRevisionSyncRevisionEventData struct {
/* Branch (if any) */
Branch LoreBranchId
/* Resulting revision hash signature */
Revision LoreHash
/* Resulting revision number, or 0 if sync resulted in a merge */
RevisionNumber uint64
/* Sync resulted in a staged merge revision */
FlagMerge bool
/* Sync resulted in a staged merged revision with conflicts */
FlagConflict bool
}
type LoreRevisionSyncRevisionEventDataFFI ¶
type LoreRevisionSyncRevisionEventDataFFI struct {
/* Branch (if any) */
Branch LoreBranchId
/* Resulting revision hash signature */
Revision LoreHash
/* Resulting revision number, or 0 if sync resulted in a merge */
RevisionNumber uint64
/* Sync resulted in a staged merge revision */
FlagMerge uint8
/* Sync resulted in a staged merged revision with conflicts */
FlagConflict uint8
}
func (*LoreRevisionSyncRevisionEventDataFFI) Clone ¶
func (e *LoreRevisionSyncRevisionEventDataFFI) Clone() LoreRevisionSyncRevisionEventData
type LoreRevisionSyncTargetEventData ¶
type LoreRevisionSyncTargetEventData struct {
/* Remote URL */
Remote string
/* Repository identifier */
Repository LoreRepositoryId
/* Branch identifier (if any) */
Branch LoreBranchId
/* Branch name (if any) */
BranchName string
/* Current (source) revision identifier */
SourceRevision LoreHash
/* Current (source) revision number */
SourceRevisionNumber uint64
/* Target revision identifier */
TargetRevision LoreHash
/* Target revision number */
TargetRevisionNumber uint64
/* Flag indicating revision is the latest revision of the branch */
IsLatest bool
/* Flag indicating revision was from local revision history, not remote */
Local bool
}
type LoreRevisionSyncTargetEventDataFFI ¶
type LoreRevisionSyncTargetEventDataFFI struct {
/* Remote URL */
Remote LoreString
/* Repository identifier */
Repository LoreRepositoryId
/* Branch identifier (if any) */
Branch LoreBranchId
/* Branch name (if any) */
BranchName LoreString
/* Current (source) revision identifier */
SourceRevision LoreHash
/* Current (source) revision number */
SourceRevisionNumber uint64
/* Target revision identifier */
TargetRevision LoreHash
/* Target revision number */
TargetRevisionNumber uint64
/* Flag indicating revision is the latest revision of the branch */
IsLatest uint8
/* Flag indicating revision was from local revision history, not remote */
Local uint8
}
func (*LoreRevisionSyncTargetEventDataFFI) Clone ¶
func (e *LoreRevisionSyncTargetEventDataFFI) Clone() LoreRevisionSyncTargetEventData
type LoreRevisionTree ¶
type LoreRevisionTree struct {
/* Registry key; `0` is the reserved invalid/unregistered sentinel (zero-init = null handle) */
HandleId uint64
}
type LoreRevisionTreeAddArgs ¶
type LoreRevisionTreeAddArgs struct {
/* Caller-chosen id echoed back as `batch_id` on `BATCH_COMPLETE` */
BatchId uint64
/* Loaded revision-tree handle to mutate */
Handle LoreRevisionTree
/* Nodes to add; each emits its own `ADD_COMPLETE` */
Entries LoreRevisionTreeAddEntryArray
}
type LoreRevisionTreeAddArgsFFI ¶
type LoreRevisionTreeAddArgsFFI struct {
/* Caller-chosen id echoed back as `batch_id` on `BATCH_COMPLETE` */
BatchId uint64
/* Loaded revision-tree handle to mutate */
Handle LoreRevisionTree
/* Nodes to add; each emits its own `ADD_COMPLETE` */
Entries LoreRevisionTreeAddEntryArrayFFI
}
func NewLoreRevisionTreeAddArgs ¶
func NewLoreRevisionTreeAddArgs(opts LoreRevisionTreeAddArgs) (LoreRevisionTreeAddArgsFFI, func())
type LoreRevisionTreeAddCompleteEventData ¶
type LoreRevisionTreeAddCompleteEventData struct {
/* Correlation id of the entry this reports, not of the call. */
EntryId uint64
/* The newly-added node. */
NodeId uint32
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeAddCompleteEventDataFFI ¶
type LoreRevisionTreeAddCompleteEventDataFFI struct {
/* Correlation id of the entry this reports, not of the call. */
EntryId uint64
/* The newly-added node. */
NodeId uint32
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
func (*LoreRevisionTreeAddCompleteEventDataFFI) Clone ¶
func (e *LoreRevisionTreeAddCompleteEventDataFFI) Clone() LoreRevisionTreeAddCompleteEventData
type LoreRevisionTreeAddEntry ¶ added in v0.8.6
type LoreRevisionTreeAddEntry struct {
/* Caller-chosen id echoed back as `entry_id` on this entry's `ADD_COMPLETE` */
EntryId uint64
/* Parent for the new node; the invalid-node sentinel selects `parent_entry_index` */
ParentNodeId uint32
/* Index of an earlier entry in this batch whose new node is the parent;
read only when `parent_node_id` is the invalid-node sentinel */
ParentEntryIndex uint32
/* UTF-8 name of the new child within its parent */
Name string
/* `LoreNodeType` encoding: `DIRECTORY = 0`, `FILE = 1`, `LINK = 2` */
Kind uint32
/* POSIX permission bits for the new node */
Mode uint16
/* Content size in bytes (leaf nodes); `0` for a directory */
Size uint64
/* Content address `(hash, file_id context)` of the new node */
Address LoreAddress
}
type LoreRevisionTreeAddEntryArray ¶ added in v0.8.6
type LoreRevisionTreeAddEntryArray = []LoreRevisionTreeAddEntry
type LoreRevisionTreeAddEntryArrayFFI ¶ added in v0.8.6
func NewLoreRevisionTreeAddEntryArray ¶ added in v0.8.6
func NewLoreRevisionTreeAddEntryArray(arr []LoreRevisionTreeAddEntry) (LoreRevisionTreeAddEntryArrayFFI, func())
func (LoreRevisionTreeAddEntryArrayFFI) Clone ¶ added in v0.8.6
func (arr LoreRevisionTreeAddEntryArrayFFI) Clone() []LoreRevisionTreeAddEntry
func (LoreRevisionTreeAddEntryArrayFFI) Get ¶ added in v0.8.6
func (arr LoreRevisionTreeAddEntryArrayFFI) Get(index int) LoreRevisionTreeAddEntry
func (LoreRevisionTreeAddEntryArrayFFI) Len ¶ added in v0.8.6
func (arr LoreRevisionTreeAddEntryArrayFFI) Len() int
type LoreRevisionTreeAddEntryFFI ¶ added in v0.8.6
type LoreRevisionTreeAddEntryFFI struct {
/* Caller-chosen id echoed back as `entry_id` on this entry's `ADD_COMPLETE` */
EntryId uint64
/* Parent for the new node; the invalid-node sentinel selects `parent_entry_index` */
ParentNodeId uint32
/* Index of an earlier entry in this batch whose new node is the parent;
read only when `parent_node_id` is the invalid-node sentinel */
ParentEntryIndex uint32
/* UTF-8 name of the new child within its parent */
Name LoreString
/* `LoreNodeType` encoding: `DIRECTORY = 0`, `FILE = 1`, `LINK = 2` */
Kind uint32
/* POSIX permission bits for the new node */
Mode uint16
/* Content size in bytes (leaf nodes); `0` for a directory */
Size uint64
/* Content address `(hash, file_id context)` of the new node */
Address LoreAddress
}
func NewLoreRevisionTreeAddEntry ¶ added in v0.8.6
func NewLoreRevisionTreeAddEntry(opts LoreRevisionTreeAddEntry) (LoreRevisionTreeAddEntryFFI, func())
func (*LoreRevisionTreeAddEntryFFI) Clone ¶ added in v0.8.6
func (e *LoreRevisionTreeAddEntryFFI) Clone() LoreRevisionTreeAddEntry
type LoreRevisionTreeBatchCompleteEventData ¶ added in v0.8.6
type LoreRevisionTreeBatchCompleteEventData struct {
/* Correlation id the call was submitted under */
BatchId uint64
/* The outcome of the call as a whole */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeBatchCompleteEventDataFFI ¶ added in v0.8.6
type LoreRevisionTreeBatchCompleteEventDataFFI struct {
/* Correlation id the call was submitted under */
BatchId uint64
/* The outcome of the call as a whole */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeChildEventData ¶
type LoreRevisionTreeChildEventData struct {
/* Correlation id of the originating call. */
Id uint64
/* The child node. */
NodeId uint32
/* The name of the child node. */
Name string
/* The parent node. */
ParentId uint32
/* The kind of node. */
Kind uint32
/* The change staged on the node, as a `LoreNodeStagedAction`. A child
staged for deletion is still listed, carrying the deletion here. */
StagedAction uint32
/* The file mode bits. */
Mode uint16
/* The size of the node's content in bytes. */
Size uint64
/* The address of the node's content. */
Address LoreAddress
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeChildEventDataFFI ¶
type LoreRevisionTreeChildEventDataFFI struct {
/* Correlation id of the originating call. */
Id uint64
/* The child node. */
NodeId uint32
/* The name of the child node. */
Name LoreString
/* The parent node. */
ParentId uint32
/* The kind of node. */
Kind uint32
/* The change staged on the node, as a `LoreNodeStagedAction`. A child
staged for deletion is still listed, carrying the deletion here. */
StagedAction uint32
/* The file mode bits. */
Mode uint16
/* The size of the node's content in bytes. */
Size uint64
/* The address of the node's content. */
Address LoreAddress
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
func (*LoreRevisionTreeChildEventDataFFI) Clone ¶
func (e *LoreRevisionTreeChildEventDataFFI) Clone() LoreRevisionTreeChildEventData
type LoreRevisionTreeCloseArgs ¶
type LoreRevisionTreeCloseArgs struct {
/* Per-call correlation id echoed back in events */
Id uint64
/* Revision-tree handle to release */
Handle LoreRevisionTree
}
type LoreRevisionTreeCloseArgsFFI ¶
type LoreRevisionTreeCloseArgsFFI struct {
/* Per-call correlation id echoed back in events */
Id uint64
/* Revision-tree handle to release */
Handle LoreRevisionTree
}
func NewLoreRevisionTreeCloseArgs ¶
func NewLoreRevisionTreeCloseArgs(opts LoreRevisionTreeCloseArgs) (LoreRevisionTreeCloseArgsFFI, func())
type LoreRevisionTreeCloseCompleteEventData ¶
type LoreRevisionTreeCloseCompleteEventData struct {
/* Correlation id of the originating call. */
Id uint64
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeCloseCompleteEventDataFFI ¶
type LoreRevisionTreeCloseCompleteEventDataFFI struct {
/* Correlation id of the originating call. */
Id uint64
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeCommitArgs ¶
type LoreRevisionTreeCommitArgs struct {
/* Per-call correlation id echoed back in events */
Id uint64
/* Loaded revision-tree handle to freeze and commit */
Handle LoreRevisionTree
/* Commit tuneables (local-only vs remote-uploading) */
Options LoreRevisionTreeCommitOptions
}
type LoreRevisionTreeCommitArgsFFI ¶
type LoreRevisionTreeCommitArgsFFI struct {
/* Per-call correlation id echoed back in events */
Id uint64
/* Loaded revision-tree handle to freeze and commit */
Handle LoreRevisionTree
/* Commit tuneables (local-only vs remote-uploading) */
Options LoreRevisionTreeCommitOptions
}
func NewLoreRevisionTreeCommitArgs ¶
func NewLoreRevisionTreeCommitArgs(opts LoreRevisionTreeCommitArgs) (LoreRevisionTreeCommitArgsFFI, func())
type LoreRevisionTreeCommitCompleteEventData ¶
type LoreRevisionTreeCommitCompleteEventData struct {
/* Correlation id of the originating call. */
Id uint64
/* The newly-committed revision. */
RevisionHash LoreHash
/* The observed branch tip when the branch had advanced. */
NewTipHash LoreHash
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeCommitCompleteEventDataFFI ¶
type LoreRevisionTreeCommitCompleteEventDataFFI struct {
/* Correlation id of the originating call. */
Id uint64
/* The newly-committed revision. */
RevisionHash LoreHash
/* The observed branch tip when the branch had advanced. */
NewTipHash LoreHash
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeCommitOptions ¶
type LoreRevisionTreeCommitOptions struct {
/* Also upload the new revision to remote (local-only by default) */
RemoteWrite bool
}
type LoreRevisionTreeCommitOptionsFFI ¶
type LoreRevisionTreeCommitOptionsFFI struct {
/* Also upload the new revision to remote (local-only by default) */
RemoteWrite uint8
}
func NewLoreRevisionTreeCommitOptions ¶
func NewLoreRevisionTreeCommitOptions(opts LoreRevisionTreeCommitOptions) (LoreRevisionTreeCommitOptionsFFI, func())
func (*LoreRevisionTreeCommitOptionsFFI) Clone ¶
func (e *LoreRevisionTreeCommitOptionsFFI) Clone() LoreRevisionTreeCommitOptions
type LoreRevisionTreeDeleteArgs ¶
type LoreRevisionTreeDeleteArgs struct {
/* Caller-chosen id echoed back as `batch_id` on `BATCH_COMPLETE` */
BatchId uint64
/* Loaded revision-tree handle to mutate */
Handle LoreRevisionTree
/* Subtrees to remove; each emits its own `DELETE_COMPLETE` */
Entries LoreRevisionTreeDeleteEntryArray
}
type LoreRevisionTreeDeleteArgsFFI ¶
type LoreRevisionTreeDeleteArgsFFI struct {
/* Caller-chosen id echoed back as `batch_id` on `BATCH_COMPLETE` */
BatchId uint64
/* Loaded revision-tree handle to mutate */
Handle LoreRevisionTree
/* Subtrees to remove; each emits its own `DELETE_COMPLETE` */
Entries LoreRevisionTreeDeleteEntryArrayFFI
}
func NewLoreRevisionTreeDeleteArgs ¶
func NewLoreRevisionTreeDeleteArgs(opts LoreRevisionTreeDeleteArgs) (LoreRevisionTreeDeleteArgsFFI, func())
type LoreRevisionTreeDeleteCompleteEventData ¶
type LoreRevisionTreeDeleteCompleteEventData struct {
/* Correlation id of the entry this reports, not of the call. */
EntryId uint64
/* How many nodes the entry's subtree removed, staged and discarded
together. Zero on failure, since nothing was removed. */
NodeCount uint64
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeDeleteCompleteEventDataFFI ¶
type LoreRevisionTreeDeleteCompleteEventDataFFI struct {
/* Correlation id of the entry this reports, not of the call. */
EntryId uint64
/* How many nodes the entry's subtree removed, staged and discarded
together. Zero on failure, since nothing was removed. */
NodeCount uint64
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeDeleteEntry ¶ added in v0.9.0
type LoreRevisionTreeDeleteEntryArray ¶ added in v0.9.0
type LoreRevisionTreeDeleteEntryArray = []LoreRevisionTreeDeleteEntry
type LoreRevisionTreeDeleteEntryArrayFFI ¶ added in v0.9.0
func NewLoreRevisionTreeDeleteEntryArray ¶ added in v0.9.0
func NewLoreRevisionTreeDeleteEntryArray(arr []LoreRevisionTreeDeleteEntry) (LoreRevisionTreeDeleteEntryArrayFFI, func())
func (LoreRevisionTreeDeleteEntryArrayFFI) Clone ¶ added in v0.9.0
func (arr LoreRevisionTreeDeleteEntryArrayFFI) Clone() []LoreRevisionTreeDeleteEntry
func (LoreRevisionTreeDeleteEntryArrayFFI) Get ¶ added in v0.9.0
func (arr LoreRevisionTreeDeleteEntryArrayFFI) Get(index int) LoreRevisionTreeDeleteEntry
func (LoreRevisionTreeDeleteEntryArrayFFI) Len ¶ added in v0.9.0
func (arr LoreRevisionTreeDeleteEntryArrayFFI) Len() int
type LoreRevisionTreeDeleteEntryFFI ¶ added in v0.9.0
type LoreRevisionTreeDeleteEntryFFI struct {
/* Caller-chosen id echoed back as `entry_id` on this entry's `DELETE_COMPLETE` */
EntryId uint64
/* Root of the subtree to remove, including its transitive children */
NodeId uint32
}
func NewLoreRevisionTreeDeleteEntry ¶ added in v0.9.0
func NewLoreRevisionTreeDeleteEntry(opts LoreRevisionTreeDeleteEntry) (LoreRevisionTreeDeleteEntryFFI, func())
func (*LoreRevisionTreeDeleteEntryFFI) Clone ¶ added in v0.9.0
func (e *LoreRevisionTreeDeleteEntryFFI) Clone() LoreRevisionTreeDeleteEntry
type LoreRevisionTreeFFI ¶
type LoreRevisionTreeFFI struct {
/* Registry key; `0` is the reserved invalid/unregistered sentinel (zero-init = null handle) */
HandleId uint64
}
func NewLoreRevisionTree ¶
func NewLoreRevisionTree(opts LoreRevisionTree) (LoreRevisionTreeFFI, func())
func (*LoreRevisionTreeFFI) Clone ¶
func (e *LoreRevisionTreeFFI) Clone() LoreRevisionTree
type LoreRevisionTreeInfoArgs ¶ added in v0.8.5
type LoreRevisionTreeInfoArgs struct {
/* Per-call correlation id echoed back in events */
Id uint64
/* Loaded revision-tree handle whose revision metadata is fetched */
Handle LoreRevisionTree
}
type LoreRevisionTreeInfoArgsFFI ¶ added in v0.8.5
type LoreRevisionTreeInfoArgsFFI struct {
/* Per-call correlation id echoed back in events */
Id uint64
/* Loaded revision-tree handle whose revision metadata is fetched */
Handle LoreRevisionTree
}
func NewLoreRevisionTreeInfoArgs ¶ added in v0.8.5
func NewLoreRevisionTreeInfoArgs(opts LoreRevisionTreeInfoArgs) (LoreRevisionTreeInfoArgsFFI, func())
type LoreRevisionTreeInfoEventData ¶ added in v0.8.5
type LoreRevisionTreeInfoEventData struct {
/* Correlation id of the originating call. */
Id uint64
/* Repository the revision belongs to. */
Repository LoreRepositoryId
/* The loaded revision. */
Revision LoreHash
/* The parent revision signatures. */
Parent [2]LoreHash
/* The time the revision was created. */
CreationTimestamp int64
/* The identity of the revision's author. */
AuthorIdentity string
/* The number of metadata keys on the revision. */
MetadataKeyCount uint32
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeInfoEventDataFFI ¶ added in v0.8.5
type LoreRevisionTreeInfoEventDataFFI struct {
/* Correlation id of the originating call. */
Id uint64
/* Repository the revision belongs to. */
Repository LoreRepositoryId
/* The loaded revision. */
Revision LoreHash
/* The parent revision signatures. */
Parent [2]LoreHash
/* The time the revision was created. */
CreationTimestamp int64
/* The identity of the revision's author. */
AuthorIdentity LoreString
/* The number of metadata keys on the revision. */
MetadataKeyCount uint32
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
func (*LoreRevisionTreeInfoEventDataFFI) Clone ¶ added in v0.8.5
func (e *LoreRevisionTreeInfoEventDataFFI) Clone() LoreRevisionTreeInfoEventData
type LoreRevisionTreeListChildrenArgs ¶
type LoreRevisionTreeListChildrenArgs struct {
/* Per-call correlation id echoed back in events */
Id uint64
/* Loaded revision-tree handle to read from */
Handle LoreRevisionTree
/* Directory node whose children are streamed */
ParentNodeId uint32
}
type LoreRevisionTreeListChildrenArgsFFI ¶
type LoreRevisionTreeListChildrenArgsFFI struct {
/* Per-call correlation id echoed back in events */
Id uint64
/* Loaded revision-tree handle to read from */
Handle LoreRevisionTree
/* Directory node whose children are streamed */
ParentNodeId uint32
}
func NewLoreRevisionTreeListChildrenArgs ¶
func NewLoreRevisionTreeListChildrenArgs(opts LoreRevisionTreeListChildrenArgs) (LoreRevisionTreeListChildrenArgsFFI, func())
type LoreRevisionTreeListChildrenBeginEventData ¶ added in v0.8.5
type LoreRevisionTreeListChildrenBeginEventData struct {
/* Correlation id of the originating call. */
Id uint64
/* Repository the listed children belong to. */
Repository LoreRepositoryId
/* Revision the listed children belong to. */
Revision LoreHash
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeListChildrenBeginEventDataFFI ¶ added in v0.8.5
type LoreRevisionTreeListChildrenBeginEventDataFFI struct {
/* Correlation id of the originating call. */
Id uint64
/* Repository the listed children belong to. */
Repository LoreRepositoryId
/* Revision the listed children belong to. */
Revision LoreHash
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeLoadArgs ¶
type LoreRevisionTreeLoadArgs struct {
/* Open storage handle the revision tree is loaded against */
Store LoreStore
/* Repository partition the loaded revision belongs to */
Repository LorePartition
/* Revision to open; `0` opens an empty tree for an initial commit */
RevisionHash LoreHash
}
type LoreRevisionTreeLoadArgsFFI ¶
type LoreRevisionTreeLoadArgsFFI struct {
/* Open storage handle the revision tree is loaded against */
Store LoreStore
/* Repository partition the loaded revision belongs to */
Repository LorePartition
/* Revision to open; `0` opens an empty tree for an initial commit */
RevisionHash LoreHash
}
func NewLoreRevisionTreeLoadArgs ¶
func NewLoreRevisionTreeLoadArgs(opts LoreRevisionTreeLoadArgs) (LoreRevisionTreeLoadArgsFFI, func())
type LoreRevisionTreeLoadedEventData ¶
type LoreRevisionTreeLoadedEventData struct {
/* Registry id for the loaded revision tree. */
HandleId uint64
}
type LoreRevisionTreeLoadedEventDataFFI ¶
type LoreRevisionTreeLoadedEventDataFFI struct {
/* Registry id for the loaded revision tree. */
HandleId uint64
}
func (*LoreRevisionTreeLoadedEventDataFFI) Clone ¶
func (e *LoreRevisionTreeLoadedEventDataFFI) Clone() LoreRevisionTreeLoadedEventData
type LoreRevisionTreeMetadataClearArgs ¶ added in v0.9.0
type LoreRevisionTreeMetadataClearArgs struct {
/* Caller-chosen id echoed back as `batch_id` on `BATCH_COMPLETE` */
BatchId uint64
/* Loaded revision-tree handle to mutate */
Handle LoreRevisionTree
/* Keys to remove; each emits its own `METADATA_CLEAR_COMPLETE` */
Entries LoreRevisionTreeMetadataClearEntryArray
}
type LoreRevisionTreeMetadataClearArgsFFI ¶ added in v0.9.0
type LoreRevisionTreeMetadataClearArgsFFI struct {
/* Caller-chosen id echoed back as `batch_id` on `BATCH_COMPLETE` */
BatchId uint64
/* Loaded revision-tree handle to mutate */
Handle LoreRevisionTree
/* Keys to remove; each emits its own `METADATA_CLEAR_COMPLETE` */
Entries LoreRevisionTreeMetadataClearEntryArrayFFI
}
func NewLoreRevisionTreeMetadataClearArgs ¶ added in v0.9.0
func NewLoreRevisionTreeMetadataClearArgs(opts LoreRevisionTreeMetadataClearArgs) (LoreRevisionTreeMetadataClearArgsFFI, func())
type LoreRevisionTreeMetadataClearCompleteEventData ¶ added in v0.9.0
type LoreRevisionTreeMetadataClearCompleteEventData struct {
/* Correlation id of the entry this reports, not of the call. */
EntryId uint64
/* `1` when the key was present and has been removed, `0` when it was absent
and the entry was a no-op. */
Removed bool
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeMetadataClearCompleteEventDataFFI ¶ added in v0.9.0
type LoreRevisionTreeMetadataClearCompleteEventDataFFI struct {
/* Correlation id of the entry this reports, not of the call. */
EntryId uint64
/* `1` when the key was present and has been removed, `0` when it was absent
and the entry was a no-op. */
Removed uint8
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeMetadataClearEntry ¶ added in v0.9.0
type LoreRevisionTreeMetadataClearEntryArray ¶ added in v0.9.0
type LoreRevisionTreeMetadataClearEntryArray = []LoreRevisionTreeMetadataClearEntry
type LoreRevisionTreeMetadataClearEntryArrayFFI ¶ added in v0.9.0
func NewLoreRevisionTreeMetadataClearEntryArray ¶ added in v0.9.0
func NewLoreRevisionTreeMetadataClearEntryArray(arr []LoreRevisionTreeMetadataClearEntry) (LoreRevisionTreeMetadataClearEntryArrayFFI, func())
func (LoreRevisionTreeMetadataClearEntryArrayFFI) Clone ¶ added in v0.9.0
func (arr LoreRevisionTreeMetadataClearEntryArrayFFI) Clone() []LoreRevisionTreeMetadataClearEntry
func (LoreRevisionTreeMetadataClearEntryArrayFFI) Get ¶ added in v0.9.0
func (arr LoreRevisionTreeMetadataClearEntryArrayFFI) Get(index int) LoreRevisionTreeMetadataClearEntry
func (LoreRevisionTreeMetadataClearEntryArrayFFI) Len ¶ added in v0.9.0
func (arr LoreRevisionTreeMetadataClearEntryArrayFFI) Len() int
type LoreRevisionTreeMetadataClearEntryFFI ¶ added in v0.9.0
type LoreRevisionTreeMetadataClearEntryFFI struct {
/* Caller-chosen id echoed back as `entry_id` on this entry's `METADATA_CLEAR_COMPLETE` */
EntryId uint64
/* Metadata key to remove; a key that is not set is a no-op */
Key LoreString
}
func NewLoreRevisionTreeMetadataClearEntry ¶ added in v0.9.0
func NewLoreRevisionTreeMetadataClearEntry(opts LoreRevisionTreeMetadataClearEntry) (LoreRevisionTreeMetadataClearEntryFFI, func())
func (*LoreRevisionTreeMetadataClearEntryFFI) Clone ¶ added in v0.9.0
func (e *LoreRevisionTreeMetadataClearEntryFFI) Clone() LoreRevisionTreeMetadataClearEntry
type LoreRevisionTreeMetadataGetArgs ¶
type LoreRevisionTreeMetadataGetArgs struct {
/* Caller-chosen id echoed back as `batch_id` on `BATCH_COMPLETE` */
BatchId uint64
/* Loaded revision-tree handle to read from */
Handle LoreRevisionTree
/* `0` reads only the revision being built; `1` also falls back to the
loaded revision for a key the handle has no entry for */
IncludeRevision bool
/* Keys to read; a key that resolves emits its own `METADATA_GET_COMPLETE` */
Entries LoreRevisionTreeMetadataGetEntryArray
}
type LoreRevisionTreeMetadataGetArgsFFI ¶
type LoreRevisionTreeMetadataGetArgsFFI struct {
/* Caller-chosen id echoed back as `batch_id` on `BATCH_COMPLETE` */
BatchId uint64
/* Loaded revision-tree handle to read from */
Handle LoreRevisionTree
/* `0` reads only the revision being built; `1` also falls back to the
loaded revision for a key the handle has no entry for */
IncludeRevision uint8
/* Keys to read; a key that resolves emits its own `METADATA_GET_COMPLETE` */
Entries LoreRevisionTreeMetadataGetEntryArrayFFI
}
func NewLoreRevisionTreeMetadataGetArgs ¶
func NewLoreRevisionTreeMetadataGetArgs(opts LoreRevisionTreeMetadataGetArgs) (LoreRevisionTreeMetadataGetArgsFFI, func())
type LoreRevisionTreeMetadataGetCompleteEventData ¶
type LoreRevisionTreeMetadataGetCompleteEventData struct {
/* Correlation id of the entry this reports, not of the call. */
EntryId uint64
/* The metadata key. */
Key string
/* The metadata value. */
Value LoreMetadata
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeMetadataGetCompleteEventDataFFI ¶
type LoreRevisionTreeMetadataGetCompleteEventDataFFI struct {
/* Correlation id of the entry this reports, not of the call. */
EntryId uint64
/* The metadata key. */
Key LoreString
/* The metadata value. */
Value LoreMetadataFFI
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeMetadataGetEntry ¶ added in v0.9.0
type LoreRevisionTreeMetadataGetEntryArray ¶ added in v0.9.0
type LoreRevisionTreeMetadataGetEntryArray = []LoreRevisionTreeMetadataGetEntry
type LoreRevisionTreeMetadataGetEntryArrayFFI ¶ added in v0.9.0
func NewLoreRevisionTreeMetadataGetEntryArray ¶ added in v0.9.0
func NewLoreRevisionTreeMetadataGetEntryArray(arr []LoreRevisionTreeMetadataGetEntry) (LoreRevisionTreeMetadataGetEntryArrayFFI, func())
func (LoreRevisionTreeMetadataGetEntryArrayFFI) Clone ¶ added in v0.9.0
func (arr LoreRevisionTreeMetadataGetEntryArrayFFI) Clone() []LoreRevisionTreeMetadataGetEntry
func (LoreRevisionTreeMetadataGetEntryArrayFFI) Get ¶ added in v0.9.0
func (arr LoreRevisionTreeMetadataGetEntryArrayFFI) Get(index int) LoreRevisionTreeMetadataGetEntry
func (LoreRevisionTreeMetadataGetEntryArrayFFI) Len ¶ added in v0.9.0
func (arr LoreRevisionTreeMetadataGetEntryArrayFFI) Len() int
type LoreRevisionTreeMetadataGetEntryFFI ¶ added in v0.9.0
type LoreRevisionTreeMetadataGetEntryFFI struct {
/* Caller-chosen id echoed back as `entry_id` on this entry's `METADATA_GET_COMPLETE` */
EntryId uint64
/* Metadata key to read */
Key LoreString
}
func NewLoreRevisionTreeMetadataGetEntry ¶ added in v0.9.0
func NewLoreRevisionTreeMetadataGetEntry(opts LoreRevisionTreeMetadataGetEntry) (LoreRevisionTreeMetadataGetEntryFFI, func())
func (*LoreRevisionTreeMetadataGetEntryFFI) Clone ¶ added in v0.9.0
func (e *LoreRevisionTreeMetadataGetEntryFFI) Clone() LoreRevisionTreeMetadataGetEntry
type LoreRevisionTreeMetadataSetArgs ¶
type LoreRevisionTreeMetadataSetArgs struct {
/* Caller-chosen id echoed back as `batch_id` on `BATCH_COMPLETE` */
BatchId uint64
/* Loaded revision-tree handle to mutate */
Handle LoreRevisionTree
/* Pairs to record; each emits its own `METADATA_SET_COMPLETE` */
Entries LoreRevisionTreeMetadataSetEntryArray
}
type LoreRevisionTreeMetadataSetArgsFFI ¶
type LoreRevisionTreeMetadataSetArgsFFI struct {
/* Caller-chosen id echoed back as `batch_id` on `BATCH_COMPLETE` */
BatchId uint64
/* Loaded revision-tree handle to mutate */
Handle LoreRevisionTree
/* Pairs to record; each emits its own `METADATA_SET_COMPLETE` */
Entries LoreRevisionTreeMetadataSetEntryArrayFFI
}
func NewLoreRevisionTreeMetadataSetArgs ¶
func NewLoreRevisionTreeMetadataSetArgs(opts LoreRevisionTreeMetadataSetArgs) (LoreRevisionTreeMetadataSetArgsFFI, func())
type LoreRevisionTreeMetadataSetCompleteEventData ¶
type LoreRevisionTreeMetadataSetCompleteEventData struct {
/* Correlation id of the entry this reports, not of the call. */
EntryId uint64
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeMetadataSetCompleteEventDataFFI ¶
type LoreRevisionTreeMetadataSetCompleteEventDataFFI struct {
/* Correlation id of the entry this reports, not of the call. */
EntryId uint64
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeMetadataSetEntry ¶ added in v0.9.0
type LoreRevisionTreeMetadataSetEntry struct {
/* Caller-chosen id echoed back as `entry_id` on this entry's `METADATA_SET_COMPLETE` */
EntryId uint64
/* Metadata key; a later entry naming it overwrites this one */
Key string
/* Value to store, stored under the kind it carries */
Value LoreMetadata
}
type LoreRevisionTreeMetadataSetEntryArray ¶ added in v0.9.0
type LoreRevisionTreeMetadataSetEntryArray = []LoreRevisionTreeMetadataSetEntry
type LoreRevisionTreeMetadataSetEntryArrayFFI ¶ added in v0.9.0
func NewLoreRevisionTreeMetadataSetEntryArray ¶ added in v0.9.0
func NewLoreRevisionTreeMetadataSetEntryArray(arr []LoreRevisionTreeMetadataSetEntry) (LoreRevisionTreeMetadataSetEntryArrayFFI, func())
func (LoreRevisionTreeMetadataSetEntryArrayFFI) Clone ¶ added in v0.9.0
func (arr LoreRevisionTreeMetadataSetEntryArrayFFI) Clone() []LoreRevisionTreeMetadataSetEntry
func (LoreRevisionTreeMetadataSetEntryArrayFFI) Get ¶ added in v0.9.0
func (arr LoreRevisionTreeMetadataSetEntryArrayFFI) Get(index int) LoreRevisionTreeMetadataSetEntry
func (LoreRevisionTreeMetadataSetEntryArrayFFI) Len ¶ added in v0.9.0
func (arr LoreRevisionTreeMetadataSetEntryArrayFFI) Len() int
type LoreRevisionTreeMetadataSetEntryFFI ¶ added in v0.9.0
type LoreRevisionTreeMetadataSetEntryFFI struct {
/* Caller-chosen id echoed back as `entry_id` on this entry's `METADATA_SET_COMPLETE` */
EntryId uint64
/* Metadata key; a later entry naming it overwrites this one */
Key LoreString
/* Value to store, stored under the kind it carries */
Value LoreMetadataFFI
}
func NewLoreRevisionTreeMetadataSetEntry ¶ added in v0.9.0
func NewLoreRevisionTreeMetadataSetEntry(opts LoreRevisionTreeMetadataSetEntry) (LoreRevisionTreeMetadataSetEntryFFI, func())
func (*LoreRevisionTreeMetadataSetEntryFFI) Clone ¶ added in v0.9.0
func (e *LoreRevisionTreeMetadataSetEntryFFI) Clone() LoreRevisionTreeMetadataSetEntry
type LoreRevisionTreeModifyArgs ¶
type LoreRevisionTreeModifyArgs struct {
/* Caller-chosen id echoed back as `batch_id` on `BATCH_COMPLETE` */
BatchId uint64
/* Loaded revision-tree handle to mutate */
Handle LoreRevisionTree
/* Nodes to rewrite; each emits its own `MODIFY_COMPLETE` */
Entries LoreRevisionTreeModifyEntryArray
}
type LoreRevisionTreeModifyArgsFFI ¶
type LoreRevisionTreeModifyArgsFFI struct {
/* Caller-chosen id echoed back as `batch_id` on `BATCH_COMPLETE` */
BatchId uint64
/* Loaded revision-tree handle to mutate */
Handle LoreRevisionTree
/* Nodes to rewrite; each emits its own `MODIFY_COMPLETE` */
Entries LoreRevisionTreeModifyEntryArrayFFI
}
func NewLoreRevisionTreeModifyArgs ¶
func NewLoreRevisionTreeModifyArgs(opts LoreRevisionTreeModifyArgs) (LoreRevisionTreeModifyArgsFFI, func())
type LoreRevisionTreeModifyCompleteEventData ¶
type LoreRevisionTreeModifyCompleteEventData struct {
/* Correlation id of the entry this reports, not of the call. */
EntryId uint64
/* The modified node. */
NodeId uint32
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeModifyCompleteEventDataFFI ¶
type LoreRevisionTreeModifyCompleteEventDataFFI struct {
/* Correlation id of the entry this reports, not of the call. */
EntryId uint64
/* The modified node. */
NodeId uint32
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeModifyEntry ¶ added in v0.9.0
type LoreRevisionTreeModifyEntry struct {
/* Caller-chosen id echoed back as `entry_id` on this entry's `MODIFY_COMPLETE` */
EntryId uint64
/* Leaf node to rewrite; non-leaf targets are rejected */
NodeId uint32
/* New POSIX permission bits */
Mode uint16
/* New content size in bytes */
Size uint64
/* New content address; a zero `context` preserves the node's file id */
Address LoreAddress
}
type LoreRevisionTreeModifyEntryArray ¶ added in v0.9.0
type LoreRevisionTreeModifyEntryArray = []LoreRevisionTreeModifyEntry
type LoreRevisionTreeModifyEntryArrayFFI ¶ added in v0.9.0
func NewLoreRevisionTreeModifyEntryArray ¶ added in v0.9.0
func NewLoreRevisionTreeModifyEntryArray(arr []LoreRevisionTreeModifyEntry) (LoreRevisionTreeModifyEntryArrayFFI, func())
func (LoreRevisionTreeModifyEntryArrayFFI) Clone ¶ added in v0.9.0
func (arr LoreRevisionTreeModifyEntryArrayFFI) Clone() []LoreRevisionTreeModifyEntry
func (LoreRevisionTreeModifyEntryArrayFFI) Get ¶ added in v0.9.0
func (arr LoreRevisionTreeModifyEntryArrayFFI) Get(index int) LoreRevisionTreeModifyEntry
func (LoreRevisionTreeModifyEntryArrayFFI) Len ¶ added in v0.9.0
func (arr LoreRevisionTreeModifyEntryArrayFFI) Len() int
type LoreRevisionTreeModifyEntryFFI ¶ added in v0.9.0
type LoreRevisionTreeModifyEntryFFI struct {
/* Caller-chosen id echoed back as `entry_id` on this entry's `MODIFY_COMPLETE` */
EntryId uint64
/* Leaf node to rewrite; non-leaf targets are rejected */
NodeId uint32
/* New POSIX permission bits */
Mode uint16
/* New content size in bytes */
Size uint64
/* New content address; a zero `context` preserves the node's file id */
Address LoreAddress
}
func NewLoreRevisionTreeModifyEntry ¶ added in v0.9.0
func NewLoreRevisionTreeModifyEntry(opts LoreRevisionTreeModifyEntry) (LoreRevisionTreeModifyEntryFFI, func())
func (*LoreRevisionTreeModifyEntryFFI) Clone ¶ added in v0.9.0
func (e *LoreRevisionTreeModifyEntryFFI) Clone() LoreRevisionTreeModifyEntry
type LoreRevisionTreeMoveArgs ¶
type LoreRevisionTreeMoveArgs struct {
/* Caller-chosen id echoed back as `batch_id` on `BATCH_COMPLETE` */
BatchId uint64
/* Loaded revision-tree handle to mutate */
Handle LoreRevisionTree
/* Nodes to move; each emits its own `MOVE_COMPLETE` */
Entries LoreRevisionTreeMoveEntryArray
}
type LoreRevisionTreeMoveArgsFFI ¶
type LoreRevisionTreeMoveArgsFFI struct {
/* Caller-chosen id echoed back as `batch_id` on `BATCH_COMPLETE` */
BatchId uint64
/* Loaded revision-tree handle to mutate */
Handle LoreRevisionTree
/* Nodes to move; each emits its own `MOVE_COMPLETE` */
Entries LoreRevisionTreeMoveEntryArrayFFI
}
func NewLoreRevisionTreeMoveArgs ¶
func NewLoreRevisionTreeMoveArgs(opts LoreRevisionTreeMoveArgs) (LoreRevisionTreeMoveArgsFFI, func())
type LoreRevisionTreeMoveCompleteEventData ¶
type LoreRevisionTreeMoveCompleteEventData struct {
/* Correlation id of the entry this reports, not of the call. */
EntryId uint64
/* The moved node. */
NodeId uint32
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeMoveCompleteEventDataFFI ¶
type LoreRevisionTreeMoveCompleteEventDataFFI struct {
/* Correlation id of the entry this reports, not of the call. */
EntryId uint64
/* The moved node. */
NodeId uint32
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeMoveEntry ¶ added in v0.9.0
type LoreRevisionTreeMoveEntry struct {
/* Caller-chosen id echoed back as `entry_id` on this entry's `MOVE_COMPLETE` */
EntryId uint64
/* Node to move; its `file_id` is preserved across the move */
NodeId uint32
/* Parent node the moved node is reparented under; its current parent renames it */
DestinationParentId uint32
/* UTF-8 name the moved node takes at the destination */
DstName string
}
type LoreRevisionTreeMoveEntryArray ¶ added in v0.9.0
type LoreRevisionTreeMoveEntryArray = []LoreRevisionTreeMoveEntry
type LoreRevisionTreeMoveEntryArrayFFI ¶ added in v0.9.0
func NewLoreRevisionTreeMoveEntryArray ¶ added in v0.9.0
func NewLoreRevisionTreeMoveEntryArray(arr []LoreRevisionTreeMoveEntry) (LoreRevisionTreeMoveEntryArrayFFI, func())
func (LoreRevisionTreeMoveEntryArrayFFI) Clone ¶ added in v0.9.0
func (arr LoreRevisionTreeMoveEntryArrayFFI) Clone() []LoreRevisionTreeMoveEntry
func (LoreRevisionTreeMoveEntryArrayFFI) Get ¶ added in v0.9.0
func (arr LoreRevisionTreeMoveEntryArrayFFI) Get(index int) LoreRevisionTreeMoveEntry
func (LoreRevisionTreeMoveEntryArrayFFI) Len ¶ added in v0.9.0
func (arr LoreRevisionTreeMoveEntryArrayFFI) Len() int
type LoreRevisionTreeMoveEntryFFI ¶ added in v0.9.0
type LoreRevisionTreeMoveEntryFFI struct {
/* Caller-chosen id echoed back as `entry_id` on this entry's `MOVE_COMPLETE` */
EntryId uint64
/* Node to move; its `file_id` is preserved across the move */
NodeId uint32
/* Parent node the moved node is reparented under; its current parent renames it */
DestinationParentId uint32
/* UTF-8 name the moved node takes at the destination */
DstName LoreString
}
func NewLoreRevisionTreeMoveEntry ¶ added in v0.9.0
func NewLoreRevisionTreeMoveEntry(opts LoreRevisionTreeMoveEntry) (LoreRevisionTreeMoveEntryFFI, func())
func (*LoreRevisionTreeMoveEntryFFI) Clone ¶ added in v0.9.0
func (e *LoreRevisionTreeMoveEntryFFI) Clone() LoreRevisionTreeMoveEntry
type LoreRevisionTreeNodeInfoArgs ¶
type LoreRevisionTreeNodeInfoArgs struct {
/* Per-call correlation id echoed back in events */
Id uint64
/* Loaded revision-tree handle to read from */
Handle LoreRevisionTree
/* Node whose record is fetched */
NodeId uint32
}
type LoreRevisionTreeNodeInfoArgsFFI ¶
type LoreRevisionTreeNodeInfoArgsFFI struct {
/* Per-call correlation id echoed back in events */
Id uint64
/* Loaded revision-tree handle to read from */
Handle LoreRevisionTree
/* Node whose record is fetched */
NodeId uint32
}
func NewLoreRevisionTreeNodeInfoArgs ¶
func NewLoreRevisionTreeNodeInfoArgs(opts LoreRevisionTreeNodeInfoArgs) (LoreRevisionTreeNodeInfoArgsFFI, func())
type LoreRevisionTreeNodeInfoEventData ¶
type LoreRevisionTreeNodeInfoEventData struct {
/* Correlation id of the originating call. */
Id uint64
/* The queried node. */
NodeId uint32
/* Repository the node belongs to. */
Repository LoreRepositoryId
/* Revision the node belongs to. */
Revision LoreHash
/* The name of the node. */
Name string
/* The parent node. */
ParentId uint32
/* The kind of node. */
Kind uint32
/* The change staged on the node, as a `LoreNodeStagedAction`. A node
staged for deletion still reports, carrying the deletion here. */
StagedAction uint32
/* The file mode bits. */
Mode uint16
/* The size of the node's content in bytes. */
Size uint64
/* The address of the node's content. */
Address LoreAddress
/* The preserved file id of the node. */
FileId LoreContext
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeNodeInfoEventDataFFI ¶
type LoreRevisionTreeNodeInfoEventDataFFI struct {
/* Correlation id of the originating call. */
Id uint64
/* The queried node. */
NodeId uint32
/* Repository the node belongs to. */
Repository LoreRepositoryId
/* Revision the node belongs to. */
Revision LoreHash
/* The name of the node. */
Name LoreString
/* The parent node. */
ParentId uint32
/* The kind of node. */
Kind uint32
/* The change staged on the node, as a `LoreNodeStagedAction`. A node
staged for deletion still reports, carrying the deletion here. */
StagedAction uint32
/* The file mode bits. */
Mode uint16
/* The size of the node's content in bytes. */
Size uint64
/* The address of the node's content. */
Address LoreAddress
/* The preserved file id of the node. */
FileId LoreContext
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
func (*LoreRevisionTreeNodeInfoEventDataFFI) Clone ¶
func (e *LoreRevisionTreeNodeInfoEventDataFFI) Clone() LoreRevisionTreeNodeInfoEventData
type LoreRevisionTreeNodePathArgs ¶
type LoreRevisionTreeNodePathArgs struct {
/* Per-call correlation id echoed back in events */
Id uint64
/* Loaded revision-tree handle to read from */
Handle LoreRevisionTree
/* Node whose full UTF-8 path is reconstructed by walking parents */
NodeId uint32
}
type LoreRevisionTreeNodePathArgsFFI ¶
type LoreRevisionTreeNodePathArgsFFI struct {
/* Per-call correlation id echoed back in events */
Id uint64
/* Loaded revision-tree handle to read from */
Handle LoreRevisionTree
/* Node whose full UTF-8 path is reconstructed by walking parents */
NodeId uint32
}
func NewLoreRevisionTreeNodePathArgs ¶
func NewLoreRevisionTreeNodePathArgs(opts LoreRevisionTreeNodePathArgs) (LoreRevisionTreeNodePathArgsFFI, func())
type LoreRevisionTreeNodePathEventData ¶
type LoreRevisionTreeNodePathEventData struct {
/* Correlation id of the originating call. */
Id uint64
/* Repository the path was reconstructed in. */
Repository LoreRepositoryId
/* Revision the path was reconstructed in. */
Revision LoreHash
/* The reconstructed path from the root to the queried node. */
Path string
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeNodePathEventDataFFI ¶
type LoreRevisionTreeNodePathEventDataFFI struct {
/* Correlation id of the originating call. */
Id uint64
/* Repository the path was reconstructed in. */
Repository LoreRepositoryId
/* Revision the path was reconstructed in. */
Revision LoreHash
/* The reconstructed path from the root to the queried node. */
Path LoreString
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
func (*LoreRevisionTreeNodePathEventDataFFI) Clone ¶
func (e *LoreRevisionTreeNodePathEventDataFFI) Clone() LoreRevisionTreeNodePathEventData
type LoreRevisionTreeResolvePathArgs ¶
type LoreRevisionTreeResolvePathArgs struct {
/* Per-call correlation id echoed back in events */
Id uint64
/* Loaded revision-tree handle to resolve against */
Handle LoreRevisionTree
/* UTF-8 path relative to the tree root; empty resolves to the root node */
Path string
}
type LoreRevisionTreeResolvePathArgsFFI ¶
type LoreRevisionTreeResolvePathArgsFFI struct {
/* Per-call correlation id echoed back in events */
Id uint64
/* Loaded revision-tree handle to resolve against */
Handle LoreRevisionTree
/* UTF-8 path relative to the tree root; empty resolves to the root node */
Path LoreString
}
func NewLoreRevisionTreeResolvePathArgs ¶
func NewLoreRevisionTreeResolvePathArgs(opts LoreRevisionTreeResolvePathArgs) (LoreRevisionTreeResolvePathArgsFFI, func())
type LoreRevisionTreeResolvePathCompleteEventData ¶
type LoreRevisionTreeResolvePathCompleteEventData struct {
/* Correlation id of the originating call. */
Id uint64
/* The resolved node. */
NodeId uint32
/* Repository the resolved node belongs to. */
Repository LoreRepositoryId
/* Revision the resolved node belongs to. */
Revision LoreHash
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreRevisionTreeResolvePathCompleteEventDataFFI ¶
type LoreRevisionTreeResolvePathCompleteEventDataFFI struct {
/* Correlation id of the originating call. */
Id uint64
/* The resolved node. */
NodeId uint32
/* Repository the resolved node belongs to. */
Repository LoreRepositoryId
/* Revision the resolved node belongs to. */
Revision LoreHash
/* The outcome of the call. */
ErrorCode LoreErrorCode
}
type LoreServiceStartArgs ¶
type LoreServiceStartArgs struct {
Unused int
}
type LoreServiceStartArgsFFI ¶
type LoreServiceStartArgsFFI struct {
Unused int
}
func NewLoreServiceStartArgs ¶
func NewLoreServiceStartArgs(opts LoreServiceStartArgs) (LoreServiceStartArgsFFI, func())
type LoreServiceStopArgs ¶
type LoreServiceStopArgs struct {
/* Stop all repositories rather than just the current one */
All bool
}
type LoreServiceStopArgsFFI ¶
type LoreServiceStopArgsFFI struct {
/* Stop all repositories rather than just the current one */
All uint8
}
func NewLoreServiceStopArgs ¶
func NewLoreServiceStopArgs(opts LoreServiceStopArgs) (LoreServiceStopArgsFFI, func())
type LoreSharedStoreCreateArgsFFI ¶
type LoreSharedStoreCreateArgsFFI struct {
RemoteUrl LoreString
Path LoreString
MakeDefault uint8
}
func NewLoreSharedStoreCreateArgs ¶
func NewLoreSharedStoreCreateArgs(opts LoreSharedStoreCreateArgs) (LoreSharedStoreCreateArgsFFI, func())
type LoreSharedStoreCreateEventData ¶
type LoreSharedStoreCreateEventData struct {
Path string
}
type LoreSharedStoreCreateEventDataFFI ¶
type LoreSharedStoreCreateEventDataFFI struct {
Path LoreString
}
func (*LoreSharedStoreCreateEventDataFFI) Clone ¶
func (e *LoreSharedStoreCreateEventDataFFI) Clone() LoreSharedStoreCreateEventData
type LoreSharedStoreInfoArgs ¶
type LoreSharedStoreInfoArgs struct {
}
type LoreSharedStoreInfoArgsFFI ¶
type LoreSharedStoreInfoArgsFFI struct {
}
func NewLoreSharedStoreInfoArgs ¶
func NewLoreSharedStoreInfoArgs(opts LoreSharedStoreInfoArgs) (LoreSharedStoreInfoArgsFFI, func())
type LoreSharedStoreInfoEventDataFFI ¶
type LoreSharedStoreInfoEventDataFFI struct {
UseAutomatically uint8
RemoteUrls LoreStringArrayFFI
Paths LoreStringArrayFFI
Exists LoreUint8ArrayFFI
}
func (*LoreSharedStoreInfoEventDataFFI) Clone ¶
func (e *LoreSharedStoreInfoEventDataFFI) Clone() LoreSharedStoreInfoEventData
type LoreSharedStoreSetUseAutomaticallyArgs ¶
type LoreSharedStoreSetUseAutomaticallyArgs struct {
Enabled bool
}
type LoreSharedStoreSetUseAutomaticallyArgsFFI ¶
type LoreSharedStoreSetUseAutomaticallyArgsFFI struct {
Enabled uint8
}
func NewLoreSharedStoreSetUseAutomaticallyArgs ¶
func NewLoreSharedStoreSetUseAutomaticallyArgs(opts LoreSharedStoreSetUseAutomaticallyArgs) (LoreSharedStoreSetUseAutomaticallyArgsFFI, func())
type LoreStorageCloseArgs ¶
type LoreStorageCloseArgs struct {
/* Handle to release; from `LORE_EVENT_STORAGE_OPENED` */
Handle LoreStore
}
type LoreStorageCloseArgsFFI ¶
type LoreStorageCloseArgsFFI struct {
/* Handle to release; from `LORE_EVENT_STORAGE_OPENED` */
Handle LoreStore
}
func NewLoreStorageCloseArgs ¶
func NewLoreStorageCloseArgs(opts LoreStorageCloseArgs) (LoreStorageCloseArgsFFI, func())
type LoreStorageCopyArgs ¶
type LoreStorageCopyArgs struct {
/* Open storage handle */
Handle LoreStore
/* Copy requests; each runs independently and emits its own `COPY_ITEM_COMPLETE` */
Items LoreStorageCopyItemArray
}
type LoreStorageCopyArgsFFI ¶
type LoreStorageCopyArgsFFI struct {
/* Open storage handle */
Handle LoreStore
/* Copy requests; each runs independently and emits its own `COPY_ITEM_COMPLETE` */
Items LoreStorageCopyItemArrayFFI
}
func NewLoreStorageCopyArgs ¶
func NewLoreStorageCopyArgs(opts LoreStorageCopyArgs) (LoreStorageCopyArgsFFI, func())
type LoreStorageCopyItem ¶
type LoreStorageCopyItem struct {
/* Caller-chosen id echoed back in `COPY_ITEM_COMPLETE` */
Id uint64
/* Source partition; the zero/default partition rejects with `INVALID_ARGUMENTS` */
SourcePartition LorePartition
/* Destination partition; zero/default rejects, as does an exact `(source_partition, source
context)` match (no-op) — a different `target_context` enables in-partition duplication */
TargetPartition LorePartition
/* Source content address; its `hash` carries over to the destination address unchanged */
SourceAddress LoreAddress
/* Dedup tag for the destination address `(target_partition, source_address.hash,
target_context)`; may match the source tag or re-tag the payload */
TargetContext LoreContext
}
type LoreStorageCopyItemArray ¶
type LoreStorageCopyItemArray = []LoreStorageCopyItem
type LoreStorageCopyItemArrayFFI ¶
func NewLoreStorageCopyItemArray ¶
func NewLoreStorageCopyItemArray(arr []LoreStorageCopyItem) (LoreStorageCopyItemArrayFFI, func())
func (LoreStorageCopyItemArrayFFI) Clone ¶
func (arr LoreStorageCopyItemArrayFFI) Clone() []LoreStorageCopyItem
func (LoreStorageCopyItemArrayFFI) Get ¶
func (arr LoreStorageCopyItemArrayFFI) Get(index int) LoreStorageCopyItem
func (LoreStorageCopyItemArrayFFI) Len ¶
func (arr LoreStorageCopyItemArrayFFI) Len() int
type LoreStorageCopyItemCompleteEventData ¶
type LoreStorageCopyItemCompleteEventData struct {
/* Correlation id of the item. */
Id uint64
/* The partition the item was copied from. */
SourcePartition LorePartition
/* The partition the item was copied to. */
TargetPartition LorePartition
/* The address of the item in the source. */
SourceAddress LoreAddress
/* The context of the item in the target. */
TargetContext LoreContext
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageCopyItemCompleteEventDataFFI ¶
type LoreStorageCopyItemCompleteEventDataFFI struct {
/* Correlation id of the item. */
Id uint64
/* The partition the item was copied from. */
SourcePartition LorePartition
/* The partition the item was copied to. */
TargetPartition LorePartition
/* The address of the item in the source. */
SourceAddress LoreAddress
/* The context of the item in the target. */
TargetContext LoreContext
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
func (*LoreStorageCopyItemCompleteEventDataFFI) Clone ¶
func (e *LoreStorageCopyItemCompleteEventDataFFI) Clone() LoreStorageCopyItemCompleteEventData
type LoreStorageCopyItemFFI ¶
type LoreStorageCopyItemFFI struct {
/* Caller-chosen id echoed back in `COPY_ITEM_COMPLETE` */
Id uint64
/* Source partition; the zero/default partition rejects with `INVALID_ARGUMENTS` */
SourcePartition LorePartition
/* Destination partition; zero/default rejects, as does an exact `(source_partition, source
context)` match (no-op) — a different `target_context` enables in-partition duplication */
TargetPartition LorePartition
/* Source content address; its `hash` carries over to the destination address unchanged */
SourceAddress LoreAddress
/* Dedup tag for the destination address `(target_partition, source_address.hash,
target_context)`; may match the source tag or re-tag the payload */
TargetContext LoreContext
}
func NewLoreStorageCopyItem ¶
func NewLoreStorageCopyItem(opts LoreStorageCopyItem) (LoreStorageCopyItemFFI, func())
func (*LoreStorageCopyItemFFI) Clone ¶
func (e *LoreStorageCopyItemFFI) Clone() LoreStorageCopyItem
type LoreStorageFlushArgs ¶
type LoreStorageFlushArgs struct {
/* Open handle whose pending writes to flush */
Handle LoreStore
}
type LoreStorageFlushArgsFFI ¶
type LoreStorageFlushArgsFFI struct {
/* Open handle whose pending writes to flush */
Handle LoreStore
}
func NewLoreStorageFlushArgs ¶
func NewLoreStorageFlushArgs(opts LoreStorageFlushArgs) (LoreStorageFlushArgsFFI, func())
type LoreStorageGetArgs ¶
type LoreStorageGetArgs struct {
/* Open storage handle */
Handle LoreStore
/* Addresses to read; each runs independently and emits its own event sequence */
Items LoreStorageGetItemArray
}
type LoreStorageGetArgsFFI ¶
type LoreStorageGetArgsFFI struct {
/* Open storage handle */
Handle LoreStore
/* Addresses to read; each runs independently and emits its own event sequence */
Items LoreStorageGetItemArrayFFI
}
func NewLoreStorageGetArgs ¶
func NewLoreStorageGetArgs(opts LoreStorageGetArgs) (LoreStorageGetArgsFFI, func())
type LoreStorageGetDataEventData ¶
type LoreStorageGetDataEventData struct {
/* Correlation id of the item. */
Id uint64
/* The content address of the item. */
Address LoreAddress
/* The byte offset of this payload within the item's content. */
Offset uint64
/* The payload bytes for this part of the item. */
Bytes LoreBytes
}
type LoreStorageGetDataEventDataFFI ¶
type LoreStorageGetDataEventDataFFI struct {
/* Correlation id of the item. */
Id uint64
/* The content address of the item. */
Address LoreAddress
/* The byte offset of this payload within the item's content. */
Offset uint64
/* The payload bytes for this part of the item. */
Bytes LoreBytesFFI
}
func (*LoreStorageGetDataEventDataFFI) Clone ¶
func (e *LoreStorageGetDataEventDataFFI) Clone() LoreStorageGetDataEventData
type LoreStorageGetFileArgs ¶
type LoreStorageGetFileArgs struct {
/* Open storage handle */
Handle LoreStore
/* Addresses and destination paths; each runs independently */
Items LoreStorageGetFileItemArray
}
type LoreStorageGetFileArgsFFI ¶
type LoreStorageGetFileArgsFFI struct {
/* Open storage handle */
Handle LoreStore
/* Addresses and destination paths; each runs independently */
Items LoreStorageGetFileItemArrayFFI
}
func NewLoreStorageGetFileArgs ¶
func NewLoreStorageGetFileArgs(opts LoreStorageGetFileArgs) (LoreStorageGetFileArgsFFI, func())
type LoreStorageGetFileItem ¶
type LoreStorageGetFileItem struct {
/* Caller-chosen id echoed back in `GET_ITEM_COMPLETE` */
Id uint64
/* Partition to read from; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Content address to read; `hash == Hash::default()` truncates `path` to zero bytes */
Address LoreAddress
/* Destination path; empty rejects with `INVALID_ARGUMENTS`. Multi-fragment writes
stage via `<path>.loretmp` then atomically rename */
Path string
/* First content byte to write, counted from the start of the decompressed content.
Past the end of the content rejects with `INVALID_ARGUMENTS` */
Offset uint64
/* Content bytes to write from `offset`; `0` writes to the end. The file holds exactly the
requested range starting at its own first byte, and is sized to it */
Length uint64
/* Cache fetched fragments back to the local store, not just write them to `path` */
LocalCache bool
}
type LoreStorageGetFileItemArray ¶
type LoreStorageGetFileItemArray = []LoreStorageGetFileItem
type LoreStorageGetFileItemArrayFFI ¶
func NewLoreStorageGetFileItemArray ¶
func NewLoreStorageGetFileItemArray(arr []LoreStorageGetFileItem) (LoreStorageGetFileItemArrayFFI, func())
func (LoreStorageGetFileItemArrayFFI) Clone ¶
func (arr LoreStorageGetFileItemArrayFFI) Clone() []LoreStorageGetFileItem
func (LoreStorageGetFileItemArrayFFI) Get ¶
func (arr LoreStorageGetFileItemArrayFFI) Get(index int) LoreStorageGetFileItem
func (LoreStorageGetFileItemArrayFFI) Len ¶
func (arr LoreStorageGetFileItemArrayFFI) Len() int
type LoreStorageGetFileItemFFI ¶
type LoreStorageGetFileItemFFI struct {
/* Caller-chosen id echoed back in `GET_ITEM_COMPLETE` */
Id uint64
/* Partition to read from; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Content address to read; `hash == Hash::default()` truncates `path` to zero bytes */
Address LoreAddress
/* Destination path; empty rejects with `INVALID_ARGUMENTS`. Multi-fragment writes
stage via `<path>.loretmp` then atomically rename */
Path LoreString
/* First content byte to write, counted from the start of the decompressed content.
Past the end of the content rejects with `INVALID_ARGUMENTS` */
Offset uint64
/* Content bytes to write from `offset`; `0` writes to the end. The file holds exactly the
requested range starting at its own first byte, and is sized to it */
Length uint64
/* Cache fetched fragments back to the local store, not just write them to `path` */
LocalCache uint8
}
func NewLoreStorageGetFileItem ¶
func NewLoreStorageGetFileItem(opts LoreStorageGetFileItem) (LoreStorageGetFileItemFFI, func())
func (*LoreStorageGetFileItemFFI) Clone ¶
func (e *LoreStorageGetFileItemFFI) Clone() LoreStorageGetFileItem
type LoreStorageGetHeaderEventData ¶
type LoreStorageGetHeaderEventData struct {
/* Correlation id of the item. */
Id uint64
/* The content address of the item. */
Address LoreAddress
/* The total reassembled content size in bytes. */
SizeContent uint64
}
type LoreStorageGetHeaderEventDataFFI ¶
type LoreStorageGetHeaderEventDataFFI struct {
/* Correlation id of the item. */
Id uint64
/* The content address of the item. */
Address LoreAddress
/* The total reassembled content size in bytes. */
SizeContent uint64
}
func (*LoreStorageGetHeaderEventDataFFI) Clone ¶
func (e *LoreStorageGetHeaderEventDataFFI) Clone() LoreStorageGetHeaderEventData
type LoreStorageGetItem ¶
type LoreStorageGetItem struct {
/* Caller-chosen id echoed back in every event for this item */
Id uint64
/* Partition to read from; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Content address to read; `hash == Hash::default()` short-circuits to an empty buffer */
Address LoreAddress
/* First content byte to read, counted from the start of the decompressed content.
Past the end of the content rejects with `INVALID_ARGUMENTS` */
Offset uint64
/* Content bytes to read from `offset`; `0` reads to the end. A range reaching past the
end is clamped to it, so `GET_DATA` may carry fewer bytes than asked for */
Length uint64
/* Stream one `GET_DATA` per leaf fragment instead of a single reassembled buffer. A read
that fails partway reports the failure on `GET_ITEM_COMPLETE` rather than ending short
with a success code */
Streaming bool
/* Cache fetched bytes back to the local store even without the producer's
`PayloadLocalCachePriority` hint */
LocalCache bool
}
type LoreStorageGetItemArray ¶
type LoreStorageGetItemArray = []LoreStorageGetItem
type LoreStorageGetItemArrayFFI ¶
func NewLoreStorageGetItemArray ¶
func NewLoreStorageGetItemArray(arr []LoreStorageGetItem) (LoreStorageGetItemArrayFFI, func())
func (LoreStorageGetItemArrayFFI) Clone ¶
func (arr LoreStorageGetItemArrayFFI) Clone() []LoreStorageGetItem
func (LoreStorageGetItemArrayFFI) Get ¶
func (arr LoreStorageGetItemArrayFFI) Get(index int) LoreStorageGetItem
func (LoreStorageGetItemArrayFFI) Len ¶
func (arr LoreStorageGetItemArrayFFI) Len() int
type LoreStorageGetItemCompleteEventData ¶
type LoreStorageGetItemCompleteEventData struct {
/* Correlation id of the item. */
Id uint64
/* The content address of the item. */
Address LoreAddress
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageGetItemCompleteEventDataFFI ¶
type LoreStorageGetItemCompleteEventDataFFI struct {
/* Correlation id of the item. */
Id uint64
/* The content address of the item. */
Address LoreAddress
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
func (*LoreStorageGetItemCompleteEventDataFFI) Clone ¶
func (e *LoreStorageGetItemCompleteEventDataFFI) Clone() LoreStorageGetItemCompleteEventData
type LoreStorageGetItemFFI ¶
type LoreStorageGetItemFFI struct {
/* Caller-chosen id echoed back in every event for this item */
Id uint64
/* Partition to read from; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Content address to read; `hash == Hash::default()` short-circuits to an empty buffer */
Address LoreAddress
/* First content byte to read, counted from the start of the decompressed content.
Past the end of the content rejects with `INVALID_ARGUMENTS` */
Offset uint64
/* Content bytes to read from `offset`; `0` reads to the end. A range reaching past the
end is clamped to it, so `GET_DATA` may carry fewer bytes than asked for */
Length uint64
/* Stream one `GET_DATA` per leaf fragment instead of a single reassembled buffer. A read
that fails partway reports the failure on `GET_ITEM_COMPLETE` rather than ending short
with a success code */
Streaming uint8
/* Cache fetched bytes back to the local store even without the producer's
`PayloadLocalCachePriority` hint */
LocalCache uint8
}
func NewLoreStorageGetItem ¶
func NewLoreStorageGetItem(opts LoreStorageGetItem) (LoreStorageGetItemFFI, func())
func (*LoreStorageGetItemFFI) Clone ¶
func (e *LoreStorageGetItemFFI) Clone() LoreStorageGetItem
type LoreStorageGetMetadataArgs ¶
type LoreStorageGetMetadataArgs struct {
/* Open storage handle */
Handle LoreStore
/* Addresses to look up; each runs independently and emits its own `GET_METADATA_ITEM_COMPLETE` */
Items LoreStorageGetMetadataItemArray
}
type LoreStorageGetMetadataArgsFFI ¶
type LoreStorageGetMetadataArgsFFI struct {
/* Open storage handle */
Handle LoreStore
/* Addresses to look up; each runs independently and emits its own `GET_METADATA_ITEM_COMPLETE` */
Items LoreStorageGetMetadataItemArrayFFI
}
func NewLoreStorageGetMetadataArgs ¶
func NewLoreStorageGetMetadataArgs(opts LoreStorageGetMetadataArgs) (LoreStorageGetMetadataArgsFFI, func())
type LoreStorageGetMetadataItem ¶
type LoreStorageGetMetadataItem struct {
/* Caller-chosen id echoed back in `GET_METADATA_ITEM_COMPLETE` */
Id uint64
/* Partition to look up; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Content address to look up; `hash == Hash::default()` short-circuits to an empty fragment */
Address LoreAddress
}
type LoreStorageGetMetadataItemArray ¶
type LoreStorageGetMetadataItemArray = []LoreStorageGetMetadataItem
type LoreStorageGetMetadataItemArrayFFI ¶
func NewLoreStorageGetMetadataItemArray ¶
func NewLoreStorageGetMetadataItemArray(arr []LoreStorageGetMetadataItem) (LoreStorageGetMetadataItemArrayFFI, func())
func (LoreStorageGetMetadataItemArrayFFI) Clone ¶
func (arr LoreStorageGetMetadataItemArrayFFI) Clone() []LoreStorageGetMetadataItem
func (LoreStorageGetMetadataItemArrayFFI) Get ¶
func (arr LoreStorageGetMetadataItemArrayFFI) Get(index int) LoreStorageGetMetadataItem
func (LoreStorageGetMetadataItemArrayFFI) Len ¶
func (arr LoreStorageGetMetadataItemArrayFFI) Len() int
type LoreStorageGetMetadataItemCompleteEventData ¶
type LoreStorageGetMetadataItemCompleteEventData struct {
/* Correlation id of the item. */
Id uint64
/* The content address of the item. */
Address LoreAddress
/* The metadata fragment for the item. */
Fragment LoreFragment
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageGetMetadataItemCompleteEventDataFFI ¶
type LoreStorageGetMetadataItemCompleteEventDataFFI struct {
/* Correlation id of the item. */
Id uint64
/* The content address of the item. */
Address LoreAddress
/* The metadata fragment for the item. */
Fragment LoreFragmentFFI
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageGetMetadataItemFFI ¶
type LoreStorageGetMetadataItemFFI struct {
/* Caller-chosen id echoed back in `GET_METADATA_ITEM_COMPLETE` */
Id uint64
/* Partition to look up; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Content address to look up; `hash == Hash::default()` short-circuits to an empty fragment */
Address LoreAddress
}
func NewLoreStorageGetMetadataItem ¶
func NewLoreStorageGetMetadataItem(opts LoreStorageGetMetadataItem) (LoreStorageGetMetadataItemFFI, func())
func (*LoreStorageGetMetadataItemFFI) Clone ¶
func (e *LoreStorageGetMetadataItemFFI) Clone() LoreStorageGetMetadataItem
type LoreStorageGetResolvedArgs ¶ added in v0.9.0
type LoreStorageGetResolvedArgs struct {
/* Open storage handle */
Handle LoreStore
/* Keys to resolve and read; each runs independently and emits its own event sequence */
Items LoreStorageGetResolvedItemArray
}
type LoreStorageGetResolvedArgsFFI ¶ added in v0.9.0
type LoreStorageGetResolvedArgsFFI struct {
/* Open storage handle */
Handle LoreStore
/* Keys to resolve and read; each runs independently and emits its own event sequence */
Items LoreStorageGetResolvedItemArrayFFI
}
func NewLoreStorageGetResolvedArgs ¶ added in v0.9.0
func NewLoreStorageGetResolvedArgs(opts LoreStorageGetResolvedArgs) (LoreStorageGetResolvedArgsFFI, func())
type LoreStorageGetResolvedItem ¶ added in v0.9.0
type LoreStorageGetResolvedItem struct {
/* Caller-chosen id echoed back in every event for this item */
Id uint64
/* Partition to resolve and read within; the zero/default partition rejects with
`INVALID_ARGUMENTS` */
Partition LorePartition
/* Mutable key to resolve, always read as `KeyType::Resolve` */
Key LoreHash
/* Paired with the resolved hash to address the immutable read; the mutable store yields
only a hash. */
Context LoreContext
/* Stream one `GET_DATA` per leaf fragment instead of a single reassembled buffer, as
`lore_storage_get` does. Peak memory then follows the fragment size rather than the
content size, which is what makes a key naming something large usable. A read that fails
partway reports the failure on `GET_ITEM_COMPLETE` rather than ending short with a
success code */
Streaming bool
/* Cache fetched bytes back to the local store even without the producer's
`PayloadLocalCachePriority` hint */
LocalCache bool
}
type LoreStorageGetResolvedItemArray ¶ added in v0.9.0
type LoreStorageGetResolvedItemArray = []LoreStorageGetResolvedItem
type LoreStorageGetResolvedItemArrayFFI ¶ added in v0.9.0
func NewLoreStorageGetResolvedItemArray ¶ added in v0.9.0
func NewLoreStorageGetResolvedItemArray(arr []LoreStorageGetResolvedItem) (LoreStorageGetResolvedItemArrayFFI, func())
func (LoreStorageGetResolvedItemArrayFFI) Clone ¶ added in v0.9.0
func (arr LoreStorageGetResolvedItemArrayFFI) Clone() []LoreStorageGetResolvedItem
func (LoreStorageGetResolvedItemArrayFFI) Get ¶ added in v0.9.0
func (arr LoreStorageGetResolvedItemArrayFFI) Get(index int) LoreStorageGetResolvedItem
func (LoreStorageGetResolvedItemArrayFFI) Len ¶ added in v0.9.0
func (arr LoreStorageGetResolvedItemArrayFFI) Len() int
type LoreStorageGetResolvedItemFFI ¶ added in v0.9.0
type LoreStorageGetResolvedItemFFI struct {
/* Caller-chosen id echoed back in every event for this item */
Id uint64
/* Partition to resolve and read within; the zero/default partition rejects with
`INVALID_ARGUMENTS` */
Partition LorePartition
/* Mutable key to resolve, always read as `KeyType::Resolve` */
Key LoreHash
/* Paired with the resolved hash to address the immutable read; the mutable store yields
only a hash. */
Context LoreContext
/* Stream one `GET_DATA` per leaf fragment instead of a single reassembled buffer, as
`lore_storage_get` does. Peak memory then follows the fragment size rather than the
content size, which is what makes a key naming something large usable. A read that fails
partway reports the failure on `GET_ITEM_COMPLETE` rather than ending short with a
success code */
Streaming uint8
/* Cache fetched bytes back to the local store even without the producer's
`PayloadLocalCachePriority` hint */
LocalCache uint8
}
func NewLoreStorageGetResolvedItem ¶ added in v0.9.0
func NewLoreStorageGetResolvedItem(opts LoreStorageGetResolvedItem) (LoreStorageGetResolvedItemFFI, func())
func (*LoreStorageGetResolvedItemFFI) Clone ¶ added in v0.9.0
func (e *LoreStorageGetResolvedItemFFI) Clone() LoreStorageGetResolvedItem
type LoreStorageMutableCompareAndSwapArgs ¶ added in v0.8.4
type LoreStorageMutableCompareAndSwapArgs struct {
/* Open storage handle */
Handle LoreStore
/* Swaps to perform; each runs independently and emits its own `MUTABLE_COMPARE_AND_SWAP_ITEM_COMPLETE` */
Items LoreStorageMutableCompareAndSwapItemArray
}
type LoreStorageMutableCompareAndSwapArgsFFI ¶ added in v0.8.4
type LoreStorageMutableCompareAndSwapArgsFFI struct {
/* Open storage handle */
Handle LoreStore
/* Swaps to perform; each runs independently and emits its own `MUTABLE_COMPARE_AND_SWAP_ITEM_COMPLETE` */
Items LoreStorageMutableCompareAndSwapItemArrayFFI
}
func NewLoreStorageMutableCompareAndSwapArgs ¶ added in v0.8.4
func NewLoreStorageMutableCompareAndSwapArgs(opts LoreStorageMutableCompareAndSwapArgs) (LoreStorageMutableCompareAndSwapArgsFFI, func())
type LoreStorageMutableCompareAndSwapItem ¶ added in v0.8.4
type LoreStorageMutableCompareAndSwapItem struct {
/* Caller-chosen id echoed back in `MUTABLE_COMPARE_AND_SWAP_ITEM_COMPLETE` */
Id uint64
/* Partition (repository) to act on; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Key to swap */
Key LoreHash
/* Value the key must currently hold for the swap to take effect (null matches an absent key) */
Expected LoreHash
/* Value to store when the swap takes effect; the null value removes the key */
Value LoreHash
/* Kind of value the key refers to */
KeyType LoreKeyType
}
type LoreStorageMutableCompareAndSwapItemArray ¶ added in v0.8.4
type LoreStorageMutableCompareAndSwapItemArray = []LoreStorageMutableCompareAndSwapItem
type LoreStorageMutableCompareAndSwapItemArrayFFI ¶ added in v0.8.4
func NewLoreStorageMutableCompareAndSwapItemArray ¶ added in v0.8.4
func NewLoreStorageMutableCompareAndSwapItemArray(arr []LoreStorageMutableCompareAndSwapItem) (LoreStorageMutableCompareAndSwapItemArrayFFI, func())
func (LoreStorageMutableCompareAndSwapItemArrayFFI) Clone ¶ added in v0.8.4
func (arr LoreStorageMutableCompareAndSwapItemArrayFFI) Clone() []LoreStorageMutableCompareAndSwapItem
func (LoreStorageMutableCompareAndSwapItemArrayFFI) Get ¶ added in v0.8.4
func (arr LoreStorageMutableCompareAndSwapItemArrayFFI) Get(index int) LoreStorageMutableCompareAndSwapItem
func (LoreStorageMutableCompareAndSwapItemArrayFFI) Len ¶ added in v0.8.4
func (arr LoreStorageMutableCompareAndSwapItemArrayFFI) Len() int
type LoreStorageMutableCompareAndSwapItemCompleteEventData ¶ added in v0.8.4
type LoreStorageMutableCompareAndSwapItemCompleteEventData struct {
/* Correlation id of the item. */
Id uint64
/* The value the key held before the swap. */
Previous LoreHash
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageMutableCompareAndSwapItemCompleteEventDataFFI ¶ added in v0.8.4
type LoreStorageMutableCompareAndSwapItemCompleteEventDataFFI struct {
/* Correlation id of the item. */
Id uint64
/* The value the key held before the swap. */
Previous LoreHash
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageMutableCompareAndSwapItemFFI ¶ added in v0.8.4
type LoreStorageMutableCompareAndSwapItemFFI struct {
/* Caller-chosen id echoed back in `MUTABLE_COMPARE_AND_SWAP_ITEM_COMPLETE` */
Id uint64
/* Partition (repository) to act on; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Key to swap */
Key LoreHash
/* Value the key must currently hold for the swap to take effect (null matches an absent key) */
Expected LoreHash
/* Value to store when the swap takes effect; the null value removes the key */
Value LoreHash
/* Kind of value the key refers to */
KeyType LoreKeyType
}
func NewLoreStorageMutableCompareAndSwapItem ¶ added in v0.8.4
func NewLoreStorageMutableCompareAndSwapItem(opts LoreStorageMutableCompareAndSwapItem) (LoreStorageMutableCompareAndSwapItemFFI, func())
func (*LoreStorageMutableCompareAndSwapItemFFI) Clone ¶ added in v0.8.4
func (e *LoreStorageMutableCompareAndSwapItemFFI) Clone() LoreStorageMutableCompareAndSwapItem
type LoreStorageMutableListArgs ¶ added in v0.8.4
type LoreStorageMutableListArgs struct {
/* Open storage handle */
Handle LoreStore
/* Listings to perform; each runs independently and emits its own entries and terminal event */
Items LoreStorageMutableListItemArray
}
type LoreStorageMutableListArgsFFI ¶ added in v0.8.4
type LoreStorageMutableListArgsFFI struct {
/* Open storage handle */
Handle LoreStore
/* Listings to perform; each runs independently and emits its own entries and terminal event */
Items LoreStorageMutableListItemArrayFFI
}
func NewLoreStorageMutableListArgs ¶ added in v0.8.4
func NewLoreStorageMutableListArgs(opts LoreStorageMutableListArgs) (LoreStorageMutableListArgsFFI, func())
type LoreStorageMutableListEntryEventData ¶ added in v0.8.4
type LoreStorageMutableListEntryEventDataFFI ¶ added in v0.8.4
type LoreStorageMutableListEntryEventDataFFI struct {
/* Correlation id of the listing item. */
Id uint64
/* The key of this entry. */
Key LoreHash
/* The value stored for the key. */
Value LoreHash
}
func (*LoreStorageMutableListEntryEventDataFFI) Clone ¶ added in v0.8.4
func (e *LoreStorageMutableListEntryEventDataFFI) Clone() LoreStorageMutableListEntryEventData
type LoreStorageMutableListItem ¶ added in v0.8.4
type LoreStorageMutableListItem struct {
/* Caller-chosen id echoed back on every entry and the terminal event */
Id uint64
/* Partition (repository) to list; the zero/default partition lists every accessible partition */
Partition LorePartition
/* Kind of value to list */
KeyType LoreKeyType
}
type LoreStorageMutableListItemArray ¶ added in v0.8.4
type LoreStorageMutableListItemArray = []LoreStorageMutableListItem
type LoreStorageMutableListItemArrayFFI ¶ added in v0.8.4
func NewLoreStorageMutableListItemArray ¶ added in v0.8.4
func NewLoreStorageMutableListItemArray(arr []LoreStorageMutableListItem) (LoreStorageMutableListItemArrayFFI, func())
func (LoreStorageMutableListItemArrayFFI) Clone ¶ added in v0.8.4
func (arr LoreStorageMutableListItemArrayFFI) Clone() []LoreStorageMutableListItem
func (LoreStorageMutableListItemArrayFFI) Get ¶ added in v0.8.4
func (arr LoreStorageMutableListItemArrayFFI) Get(index int) LoreStorageMutableListItem
func (LoreStorageMutableListItemArrayFFI) Len ¶ added in v0.8.4
func (arr LoreStorageMutableListItemArrayFFI) Len() int
type LoreStorageMutableListItemCompleteEventData ¶ added in v0.8.4
type LoreStorageMutableListItemCompleteEventData struct {
/* Correlation id of the listing item. */
Id uint64
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageMutableListItemCompleteEventDataFFI ¶ added in v0.8.4
type LoreStorageMutableListItemCompleteEventDataFFI struct {
/* Correlation id of the listing item. */
Id uint64
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageMutableListItemFFI ¶ added in v0.8.4
type LoreStorageMutableListItemFFI struct {
/* Caller-chosen id echoed back on every entry and the terminal event */
Id uint64
/* Partition (repository) to list; the zero/default partition lists every accessible partition */
Partition LorePartition
/* Kind of value to list */
KeyType LoreKeyType
}
func NewLoreStorageMutableListItem ¶ added in v0.8.4
func NewLoreStorageMutableListItem(opts LoreStorageMutableListItem) (LoreStorageMutableListItemFFI, func())
func (*LoreStorageMutableListItemFFI) Clone ¶ added in v0.8.4
func (e *LoreStorageMutableListItemFFI) Clone() LoreStorageMutableListItem
type LoreStorageMutableLoadArgs ¶ added in v0.8.4
type LoreStorageMutableLoadArgs struct {
/* Open storage handle */
Handle LoreStore
/* Keys to read; each runs independently and emits its own `MUTABLE_LOAD_ITEM_COMPLETE` */
Items LoreStorageMutableLoadItemArray
}
type LoreStorageMutableLoadArgsFFI ¶ added in v0.8.4
type LoreStorageMutableLoadArgsFFI struct {
/* Open storage handle */
Handle LoreStore
/* Keys to read; each runs independently and emits its own `MUTABLE_LOAD_ITEM_COMPLETE` */
Items LoreStorageMutableLoadItemArrayFFI
}
func NewLoreStorageMutableLoadArgs ¶ added in v0.8.4
func NewLoreStorageMutableLoadArgs(opts LoreStorageMutableLoadArgs) (LoreStorageMutableLoadArgsFFI, func())
type LoreStorageMutableLoadItem ¶ added in v0.8.4
type LoreStorageMutableLoadItem struct {
/* Caller-chosen id echoed back in `MUTABLE_LOAD_ITEM_COMPLETE` */
Id uint64
/* Partition (repository) to read from; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Key to read */
Key LoreHash
/* Kind of value the key refers to */
KeyType LoreKeyType
}
type LoreStorageMutableLoadItemArray ¶ added in v0.8.4
type LoreStorageMutableLoadItemArray = []LoreStorageMutableLoadItem
type LoreStorageMutableLoadItemArrayFFI ¶ added in v0.8.4
func NewLoreStorageMutableLoadItemArray ¶ added in v0.8.4
func NewLoreStorageMutableLoadItemArray(arr []LoreStorageMutableLoadItem) (LoreStorageMutableLoadItemArrayFFI, func())
func (LoreStorageMutableLoadItemArrayFFI) Clone ¶ added in v0.8.4
func (arr LoreStorageMutableLoadItemArrayFFI) Clone() []LoreStorageMutableLoadItem
func (LoreStorageMutableLoadItemArrayFFI) Get ¶ added in v0.8.4
func (arr LoreStorageMutableLoadItemArrayFFI) Get(index int) LoreStorageMutableLoadItem
func (LoreStorageMutableLoadItemArrayFFI) Len ¶ added in v0.8.4
func (arr LoreStorageMutableLoadItemArrayFFI) Len() int
type LoreStorageMutableLoadItemCompleteEventData ¶ added in v0.8.4
type LoreStorageMutableLoadItemCompleteEventData struct {
/* Correlation id of the item. */
Id uint64
/* The value stored for the key. */
Value LoreHash
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageMutableLoadItemCompleteEventDataFFI ¶ added in v0.8.4
type LoreStorageMutableLoadItemCompleteEventDataFFI struct {
/* Correlation id of the item. */
Id uint64
/* The value stored for the key. */
Value LoreHash
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageMutableLoadItemFFI ¶ added in v0.8.4
type LoreStorageMutableLoadItemFFI struct {
/* Caller-chosen id echoed back in `MUTABLE_LOAD_ITEM_COMPLETE` */
Id uint64
/* Partition (repository) to read from; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Key to read */
Key LoreHash
/* Kind of value the key refers to */
KeyType LoreKeyType
}
func NewLoreStorageMutableLoadItem ¶ added in v0.8.4
func NewLoreStorageMutableLoadItem(opts LoreStorageMutableLoadItem) (LoreStorageMutableLoadItemFFI, func())
func (*LoreStorageMutableLoadItemFFI) Clone ¶ added in v0.8.4
func (e *LoreStorageMutableLoadItemFFI) Clone() LoreStorageMutableLoadItem
type LoreStorageMutableStoreArgs ¶ added in v0.8.4
type LoreStorageMutableStoreArgs struct {
/* Open storage handle */
Handle LoreStore
/* Key-value pairs to write; each runs independently and emits its own `MUTABLE_STORE_ITEM_COMPLETE` */
Items LoreStorageMutableStoreItemArray
}
type LoreStorageMutableStoreArgsFFI ¶ added in v0.8.4
type LoreStorageMutableStoreArgsFFI struct {
/* Open storage handle */
Handle LoreStore
/* Key-value pairs to write; each runs independently and emits its own `MUTABLE_STORE_ITEM_COMPLETE` */
Items LoreStorageMutableStoreItemArrayFFI
}
func NewLoreStorageMutableStoreArgs ¶ added in v0.8.4
func NewLoreStorageMutableStoreArgs(opts LoreStorageMutableStoreArgs) (LoreStorageMutableStoreArgsFFI, func())
type LoreStorageMutableStoreItem ¶ added in v0.8.4
type LoreStorageMutableStoreItem struct {
/* Caller-chosen id echoed back in `MUTABLE_STORE_ITEM_COMPLETE` */
Id uint64
/* Partition (repository) to write to; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Key to write */
Key LoreHash
/* Value to store; the null value (`Hash::default()`) removes the key */
Value LoreHash
/* Kind of value the key refers to */
KeyType LoreKeyType
}
type LoreStorageMutableStoreItemArray ¶ added in v0.8.4
type LoreStorageMutableStoreItemArray = []LoreStorageMutableStoreItem
type LoreStorageMutableStoreItemArrayFFI ¶ added in v0.8.4
func NewLoreStorageMutableStoreItemArray ¶ added in v0.8.4
func NewLoreStorageMutableStoreItemArray(arr []LoreStorageMutableStoreItem) (LoreStorageMutableStoreItemArrayFFI, func())
func (LoreStorageMutableStoreItemArrayFFI) Clone ¶ added in v0.8.4
func (arr LoreStorageMutableStoreItemArrayFFI) Clone() []LoreStorageMutableStoreItem
func (LoreStorageMutableStoreItemArrayFFI) Get ¶ added in v0.8.4
func (arr LoreStorageMutableStoreItemArrayFFI) Get(index int) LoreStorageMutableStoreItem
func (LoreStorageMutableStoreItemArrayFFI) Len ¶ added in v0.8.4
func (arr LoreStorageMutableStoreItemArrayFFI) Len() int
type LoreStorageMutableStoreItemCompleteEventData ¶ added in v0.8.4
type LoreStorageMutableStoreItemCompleteEventData struct {
/* Correlation id of the item. */
Id uint64
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageMutableStoreItemCompleteEventDataFFI ¶ added in v0.8.4
type LoreStorageMutableStoreItemCompleteEventDataFFI struct {
/* Correlation id of the item. */
Id uint64
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageMutableStoreItemFFI ¶ added in v0.8.4
type LoreStorageMutableStoreItemFFI struct {
/* Caller-chosen id echoed back in `MUTABLE_STORE_ITEM_COMPLETE` */
Id uint64
/* Partition (repository) to write to; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Key to write */
Key LoreHash
/* Value to store; the null value (`Hash::default()`) removes the key */
Value LoreHash
/* Kind of value the key refers to */
KeyType LoreKeyType
}
func NewLoreStorageMutableStoreItem ¶ added in v0.8.4
func NewLoreStorageMutableStoreItem(opts LoreStorageMutableStoreItem) (LoreStorageMutableStoreItemFFI, func())
func (*LoreStorageMutableStoreItemFFI) Clone ¶ added in v0.8.4
func (e *LoreStorageMutableStoreItemFFI) Clone() LoreStorageMutableStoreItem
type LoreStorageObliterateArgs ¶
type LoreStorageObliterateArgs struct {
/* Open storage handle */
Handle LoreStore
/* Addresses to delete; each runs independently and emits its own `OBLITERATE_ITEM_COMPLETE` */
Items LoreStorageObliterateItemArray
}
type LoreStorageObliterateArgsFFI ¶
type LoreStorageObliterateArgsFFI struct {
/* Open storage handle */
Handle LoreStore
/* Addresses to delete; each runs independently and emits its own `OBLITERATE_ITEM_COMPLETE` */
Items LoreStorageObliterateItemArrayFFI
}
func NewLoreStorageObliterateArgs ¶
func NewLoreStorageObliterateArgs(opts LoreStorageObliterateArgs) (LoreStorageObliterateArgsFFI, func())
type LoreStorageObliterateItem ¶
type LoreStorageObliterateItem struct {
/* Caller-chosen id echoed back in `OBLITERATE_ITEM_COMPLETE` */
Id uint64
/* Partition to delete from; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Content address to delete; absence on a side is idempotent success for that side */
Address LoreAddress
}
type LoreStorageObliterateItemArray ¶
type LoreStorageObliterateItemArray = []LoreStorageObliterateItem
type LoreStorageObliterateItemArrayFFI ¶
func NewLoreStorageObliterateItemArray ¶
func NewLoreStorageObliterateItemArray(arr []LoreStorageObliterateItem) (LoreStorageObliterateItemArrayFFI, func())
func (LoreStorageObliterateItemArrayFFI) Clone ¶
func (arr LoreStorageObliterateItemArrayFFI) Clone() []LoreStorageObliterateItem
func (LoreStorageObliterateItemArrayFFI) Get ¶
func (arr LoreStorageObliterateItemArrayFFI) Get(index int) LoreStorageObliterateItem
func (LoreStorageObliterateItemArrayFFI) Len ¶
func (arr LoreStorageObliterateItemArrayFFI) Len() int
type LoreStorageObliterateItemCompleteEventData ¶
type LoreStorageObliterateItemCompleteEventData struct {
/* Correlation id of the item. */
Id uint64
/* The content address of the item. */
Address LoreAddress
/* 1 when the local side completed without error. */
LocalSuccess bool
/* 1 when the remote side completed without error. */
RemoteSuccess bool
/* 1 when the local side was skipped. */
LocalSkipped bool
/* 1 when the remote side was skipped. */
RemoteSkipped bool
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageObliterateItemCompleteEventDataFFI ¶
type LoreStorageObliterateItemCompleteEventDataFFI struct {
/* Correlation id of the item. */
Id uint64
/* The content address of the item. */
Address LoreAddress
/* 1 when the local side completed without error. */
LocalSuccess uint8
/* 1 when the remote side completed without error. */
RemoteSuccess uint8
/* 1 when the local side was skipped. */
LocalSkipped uint8
/* 1 when the remote side was skipped. */
RemoteSkipped uint8
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageObliterateItemFFI ¶
type LoreStorageObliterateItemFFI struct {
/* Caller-chosen id echoed back in `OBLITERATE_ITEM_COMPLETE` */
Id uint64
/* Partition to delete from; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Content address to delete; absence on a side is idempotent success for that side */
Address LoreAddress
}
func NewLoreStorageObliterateItem ¶
func NewLoreStorageObliterateItem(opts LoreStorageObliterateItem) (LoreStorageObliterateItemFFI, func())
func (*LoreStorageObliterateItemFFI) Clone ¶
func (e *LoreStorageObliterateItemFFI) Clone() LoreStorageObliterateItem
type LoreStorageOpenArgs ¶
type LoreStorageOpenArgs struct {
/* Path to an existing lore repository; must be empty when `in_memory` is set */
RepositoryPath string
/* Open a fresh in-memory store; `repository_path` must then be empty */
InMemory bool
/* Remote endpoint binding for ops that consult a peer; honored only when `has_remote_config` is set */
RemoteConfig LoreStorageRemoteConfig
/* Activate `remote_config`; otherwise the handle has no remote */
HasRemoteConfig bool
/* Soft cap on total immutable-store bytes (compactor target). A non-zero cache target enables
incremental background GC for the handle; `0` then selects the default. Shared disk backends
inherit the first opener's value */
CacheTargetBytes uint64
/* Soft cap on immutable-store fragment count (evictor target). A non-zero cache target enables
incremental background GC for the handle; `0` then selects the default */
CacheTargetFragments uint64
}
type LoreStorageOpenArgsFFI ¶
type LoreStorageOpenArgsFFI struct {
/* Path to an existing lore repository; must be empty when `in_memory` is set */
RepositoryPath LoreString
/* Open a fresh in-memory store; `repository_path` must then be empty */
InMemory uint8
/* Remote endpoint binding for ops that consult a peer; honored only when `has_remote_config` is set */
RemoteConfig LoreStorageRemoteConfig
/* Activate `remote_config`; otherwise the handle has no remote */
HasRemoteConfig uint8
/* Soft cap on total immutable-store bytes (compactor target). A non-zero cache target enables
incremental background GC for the handle; `0` then selects the default. Shared disk backends
inherit the first opener's value */
CacheTargetBytes uint64
/* Soft cap on immutable-store fragment count (evictor target). A non-zero cache target enables
incremental background GC for the handle; `0` then selects the default */
CacheTargetFragments uint64
}
func NewLoreStorageOpenArgs ¶
func NewLoreStorageOpenArgs(opts LoreStorageOpenArgs) (LoreStorageOpenArgsFFI, func())
type LoreStorageOpenedEventData ¶
type LoreStorageOpenedEventData struct {
/* Handle id for the opened store. */
HandleId uint64
}
type LoreStorageOpenedEventDataFFI ¶
type LoreStorageOpenedEventDataFFI struct {
/* Handle id for the opened store. */
HandleId uint64
}
func (*LoreStorageOpenedEventDataFFI) Clone ¶
func (e *LoreStorageOpenedEventDataFFI) Clone() LoreStorageOpenedEventData
type LoreStoragePutArgs ¶
type LoreStoragePutArgs struct {
/* Open storage handle */
Handle LoreStore
/* Buffers to store; each runs independently and emits its own `PUT_ITEM_COMPLETE` */
Items LoreStoragePutItemArray
}
type LoreStoragePutArgsFFI ¶
type LoreStoragePutArgsFFI struct {
/* Open storage handle */
Handle LoreStore
/* Buffers to store; each runs independently and emits its own `PUT_ITEM_COMPLETE` */
Items LoreStoragePutItemArrayFFI
}
func NewLoreStoragePutArgs ¶
func NewLoreStoragePutArgs(opts LoreStoragePutArgs) (LoreStoragePutArgsFFI, func())
type LoreStoragePutFileArgs ¶
type LoreStoragePutFileArgs struct {
/* Open storage handle */
Handle LoreStore
/* Files to store; each runs independently and emits its own `PUT_ITEM_COMPLETE` */
Items LoreStoragePutFileItemArray
}
type LoreStoragePutFileArgsFFI ¶
type LoreStoragePutFileArgsFFI struct {
/* Open storage handle */
Handle LoreStore
/* Files to store; each runs independently and emits its own `PUT_ITEM_COMPLETE` */
Items LoreStoragePutFileItemArrayFFI
}
func NewLoreStoragePutFileArgs ¶
func NewLoreStoragePutFileArgs(opts LoreStoragePutFileArgs) (LoreStoragePutFileArgsFFI, func())
type LoreStoragePutFileItem ¶
type LoreStoragePutFileItem struct {
/* Caller-chosen id echoed back in `PUT_ITEM_COMPLETE` */
Id uint64
/* Target partition; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Dedup tag stored alongside the content hash in the resulting address */
Context LoreContext
/* Source path; empty, missing, or non-file rejects with `INVALID_ARGUMENTS`; a zero-length
file maps to the zero-hash address */
Path string
/* Opt into remote upload — honored on the remote path, ignored local-only */
RemoteWrite bool
/* Tag the resulting fragment with `PayloadLocalCachePriority` so future remote reads always cache it locally */
LocalCache bool
/* Leaf fragment size cap for large files; `0` lets `write_content` choose */
FixedSizeChunk uint64
}
type LoreStoragePutFileItemArray ¶
type LoreStoragePutFileItemArray = []LoreStoragePutFileItem
type LoreStoragePutFileItemArrayFFI ¶
func NewLoreStoragePutFileItemArray ¶
func NewLoreStoragePutFileItemArray(arr []LoreStoragePutFileItem) (LoreStoragePutFileItemArrayFFI, func())
func (LoreStoragePutFileItemArrayFFI) Clone ¶
func (arr LoreStoragePutFileItemArrayFFI) Clone() []LoreStoragePutFileItem
func (LoreStoragePutFileItemArrayFFI) Get ¶
func (arr LoreStoragePutFileItemArrayFFI) Get(index int) LoreStoragePutFileItem
func (LoreStoragePutFileItemArrayFFI) Len ¶
func (arr LoreStoragePutFileItemArrayFFI) Len() int
type LoreStoragePutFileItemFFI ¶
type LoreStoragePutFileItemFFI struct {
/* Caller-chosen id echoed back in `PUT_ITEM_COMPLETE` */
Id uint64
/* Target partition; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Dedup tag stored alongside the content hash in the resulting address */
Context LoreContext
/* Source path; empty, missing, or non-file rejects with `INVALID_ARGUMENTS`; a zero-length
file maps to the zero-hash address */
Path LoreString
/* Opt into remote upload — honored on the remote path, ignored local-only */
RemoteWrite uint8
/* Tag the resulting fragment with `PayloadLocalCachePriority` so future remote reads always cache it locally */
LocalCache uint8
/* Leaf fragment size cap for large files; `0` lets `write_content` choose */
FixedSizeChunk uint64
}
func NewLoreStoragePutFileItem ¶
func NewLoreStoragePutFileItem(opts LoreStoragePutFileItem) (LoreStoragePutFileItemFFI, func())
func (*LoreStoragePutFileItemFFI) Clone ¶
func (e *LoreStoragePutFileItemFFI) Clone() LoreStoragePutFileItem
type LoreStoragePutItem ¶
type LoreStoragePutItem struct {
/* Caller-chosen id echoed back in `PUT_ITEM_COMPLETE` */
Id uint64
/* Target partition; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Dedup tag stored alongside the content hash in the resulting address */
Context LoreContext
/* Borrowed view into caller memory; bytes must live until `Complete` fires */
Data LoreBytes
/* Opt into remote upload — honored on the remote path, ignored local-only */
RemoteWrite bool
/* Tag the fragment with `PayloadLocalCachePriority` so future remote reads always cache it locally */
LocalCache bool
/* Leaf fragment size cap for large buffers; `0` lets `write_content` choose. Ignored
for buffers under `FRAGMENT_SIZE_THRESHOLD` */
FixedSizeChunk uint64
}
type LoreStoragePutItemArray ¶
type LoreStoragePutItemArray = []LoreStoragePutItem
type LoreStoragePutItemArrayFFI ¶
func NewLoreStoragePutItemArray ¶
func NewLoreStoragePutItemArray(arr []LoreStoragePutItem) (LoreStoragePutItemArrayFFI, func())
func (LoreStoragePutItemArrayFFI) Clone ¶
func (arr LoreStoragePutItemArrayFFI) Clone() []LoreStoragePutItem
func (LoreStoragePutItemArrayFFI) Get ¶
func (arr LoreStoragePutItemArrayFFI) Get(index int) LoreStoragePutItem
func (LoreStoragePutItemArrayFFI) Len ¶
func (arr LoreStoragePutItemArrayFFI) Len() int
type LoreStoragePutItemCompleteEventData ¶
type LoreStoragePutItemCompleteEventData struct {
/* Correlation id of the item. */
Id uint64
/* The computed content address of the stored item. */
Address LoreAddress
/* The outcome for the item. */
ErrorCode LoreErrorCode
/* Non-zero when the local store holds the content. Appended after the original three
fields, so a consumer reading only those is unaffected — `serde(default)` lets an older
payload that lacks the field deserialize, as events cross the IPC boundary. */
StoredLocal bool
/* Non-zero when the content reached the remote, or was already durable there. A remote
write that fails still reports `error_code = NONE` if the local write succeeded — this is
how a caller tells the two apart. For fragmented content it is the intersection across
every fragment, so it is set only when the whole tree is remote. */
StoredRemote bool
}
type LoreStoragePutItemCompleteEventDataFFI ¶
type LoreStoragePutItemCompleteEventDataFFI struct {
/* Correlation id of the item. */
Id uint64
/* The computed content address of the stored item. */
Address LoreAddress
/* The outcome for the item. */
ErrorCode LoreErrorCode
/* Non-zero when the local store holds the content. Appended after the original three
fields, so a consumer reading only those is unaffected — `serde(default)` lets an older
payload that lacks the field deserialize, as events cross the IPC boundary. */
StoredLocal uint8
/* Non-zero when the content reached the remote, or was already durable there. A remote
write that fails still reports `error_code = NONE` if the local write succeeded — this is
how a caller tells the two apart. For fragmented content it is the intersection across
every fragment, so it is set only when the whole tree is remote. */
StoredRemote uint8
}
func (*LoreStoragePutItemCompleteEventDataFFI) Clone ¶
func (e *LoreStoragePutItemCompleteEventDataFFI) Clone() LoreStoragePutItemCompleteEventData
type LoreStoragePutItemFFI ¶
type LoreStoragePutItemFFI struct {
/* Caller-chosen id echoed back in `PUT_ITEM_COMPLETE` */
Id uint64
/* Target partition; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Dedup tag stored alongside the content hash in the resulting address */
Context LoreContext
/* Borrowed view into caller memory; bytes must live until `Complete` fires */
Data LoreBytesFFI
/* Opt into remote upload — honored on the remote path, ignored local-only */
RemoteWrite uint8
/* Tag the fragment with `PayloadLocalCachePriority` so future remote reads always cache it locally */
LocalCache uint8
/* Leaf fragment size cap for large buffers; `0` lets `write_content` choose. Ignored
for buffers under `FRAGMENT_SIZE_THRESHOLD` */
FixedSizeChunk uint64
}
func NewLoreStoragePutItem ¶
func NewLoreStoragePutItem(opts LoreStoragePutItem) (LoreStoragePutItemFFI, func())
func (*LoreStoragePutItemFFI) Clone ¶
func (e *LoreStoragePutItemFFI) Clone() LoreStoragePutItem
type LoreStoragePutResolvedArgs ¶ added in v0.9.0
type LoreStoragePutResolvedArgs struct {
/* Open storage handle */
Handle LoreStore
/* Buffers to store and publish; each runs independently and emits its own
`PUT_ITEM_COMPLETE` */
Items LoreStoragePutResolvedItemArray
}
type LoreStoragePutResolvedArgsFFI ¶ added in v0.9.0
type LoreStoragePutResolvedArgsFFI struct {
/* Open storage handle */
Handle LoreStore
/* Buffers to store and publish; each runs independently and emits its own
`PUT_ITEM_COMPLETE` */
Items LoreStoragePutResolvedItemArrayFFI
}
func NewLoreStoragePutResolvedArgs ¶ added in v0.9.0
func NewLoreStoragePutResolvedArgs(opts LoreStoragePutResolvedArgs) (LoreStoragePutResolvedArgsFFI, func())
type LoreStoragePutResolvedItem ¶ added in v0.9.0
type LoreStoragePutResolvedItem struct {
/* Caller-chosen id echoed back in `PUT_ITEM_COMPLETE` */
Id uint64
/* Target partition; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Mutable key to publish the stored hash under; a zero key rejects with `INVALID_ARGUMENTS` */
Key LoreHash
/* Dedup tag stored alongside the content hash in the resulting address, and the context a
later `get_resolved` must read the key at */
Context LoreContext
/* Borrowed view into caller memory; bytes must live until `Complete` fires. A zero-length
buffer removes the key's mapping instead of publishing one */
Data LoreBytes
/* Also publish the content and the mapping to the remote; ignored when the handle has no
remote or the call is offline/local */
RemoteWrite bool
/* Tag the fragment with `PayloadLocalCachePriority` so future remote reads always cache it
locally */
LocalCache bool
/* Leaf fragment size cap for large buffers; `0` lets the writer choose. Ignored for buffers
under `FRAGMENT_SIZE_THRESHOLD` */
FixedSizeChunk uint64
}
type LoreStoragePutResolvedItemArray ¶ added in v0.9.0
type LoreStoragePutResolvedItemArray = []LoreStoragePutResolvedItem
type LoreStoragePutResolvedItemArrayFFI ¶ added in v0.9.0
func NewLoreStoragePutResolvedItemArray ¶ added in v0.9.0
func NewLoreStoragePutResolvedItemArray(arr []LoreStoragePutResolvedItem) (LoreStoragePutResolvedItemArrayFFI, func())
func (LoreStoragePutResolvedItemArrayFFI) Clone ¶ added in v0.9.0
func (arr LoreStoragePutResolvedItemArrayFFI) Clone() []LoreStoragePutResolvedItem
func (LoreStoragePutResolvedItemArrayFFI) Get ¶ added in v0.9.0
func (arr LoreStoragePutResolvedItemArrayFFI) Get(index int) LoreStoragePutResolvedItem
func (LoreStoragePutResolvedItemArrayFFI) Len ¶ added in v0.9.0
func (arr LoreStoragePutResolvedItemArrayFFI) Len() int
type LoreStoragePutResolvedItemFFI ¶ added in v0.9.0
type LoreStoragePutResolvedItemFFI struct {
/* Caller-chosen id echoed back in `PUT_ITEM_COMPLETE` */
Id uint64
/* Target partition; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Mutable key to publish the stored hash under; a zero key rejects with `INVALID_ARGUMENTS` */
Key LoreHash
/* Dedup tag stored alongside the content hash in the resulting address, and the context a
later `get_resolved` must read the key at */
Context LoreContext
/* Borrowed view into caller memory; bytes must live until `Complete` fires. A zero-length
buffer removes the key's mapping instead of publishing one */
Data LoreBytesFFI
/* Also publish the content and the mapping to the remote; ignored when the handle has no
remote or the call is offline/local */
RemoteWrite uint8
/* Tag the fragment with `PayloadLocalCachePriority` so future remote reads always cache it
locally */
LocalCache uint8
/* Leaf fragment size cap for large buffers; `0` lets the writer choose. Ignored for buffers
under `FRAGMENT_SIZE_THRESHOLD` */
FixedSizeChunk uint64
}
func NewLoreStoragePutResolvedItem ¶ added in v0.9.0
func NewLoreStoragePutResolvedItem(opts LoreStoragePutResolvedItem) (LoreStoragePutResolvedItemFFI, func())
func (*LoreStoragePutResolvedItemFFI) Clone ¶ added in v0.9.0
func (e *LoreStoragePutResolvedItemFFI) Clone() LoreStoragePutResolvedItem
type LoreStorageRemoteConfig ¶
type LoreStorageRemoteConfig struct {
/* gRPC endpoint of the peer storage service; authenticated with the open call's `globals.identity` */
RemoteUrl string
}
type LoreStorageRemoteConfigFFI ¶
type LoreStorageRemoteConfigFFI struct {
/* gRPC endpoint of the peer storage service; authenticated with the open call's `globals.identity` */
RemoteUrl LoreString
}
func NewLoreStorageRemoteConfig ¶
func NewLoreStorageRemoteConfig(opts LoreStorageRemoteConfig) (LoreStorageRemoteConfigFFI, func())
func (*LoreStorageRemoteConfigFFI) Clone ¶
func (e *LoreStorageRemoteConfigFFI) Clone() LoreStorageRemoteConfig
type LoreStorageUploadArgs ¶
type LoreStorageUploadArgs struct {
/* Open storage handle; must have been opened with `remote_config` */
Handle LoreStore
/* Addresses to push to remote; each runs independently and emits its own `UPLOAD_ITEM_COMPLETE` */
Items LoreStorageUploadItemArray
}
type LoreStorageUploadArgsFFI ¶
type LoreStorageUploadArgsFFI struct {
/* Open storage handle; must have been opened with `remote_config` */
Handle LoreStore
/* Addresses to push to remote; each runs independently and emits its own `UPLOAD_ITEM_COMPLETE` */
Items LoreStorageUploadItemArrayFFI
}
func NewLoreStorageUploadArgs ¶
func NewLoreStorageUploadArgs(opts LoreStorageUploadArgs) (LoreStorageUploadArgsFFI, func())
type LoreStorageUploadItem ¶
type LoreStorageUploadItem struct {
/* Caller-chosen id echoed back in `UPLOAD_ITEM_COMPLETE` */
Id uint64
/* Partition of the local content to push; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Local content address to push; `hash == Hash::default()` is no-op success with `already_durable=1` */
Address LoreAddress
}
type LoreStorageUploadItemArray ¶
type LoreStorageUploadItemArray = []LoreStorageUploadItem
type LoreStorageUploadItemArrayFFI ¶
func NewLoreStorageUploadItemArray ¶
func NewLoreStorageUploadItemArray(arr []LoreStorageUploadItem) (LoreStorageUploadItemArrayFFI, func())
func (LoreStorageUploadItemArrayFFI) Clone ¶
func (arr LoreStorageUploadItemArrayFFI) Clone() []LoreStorageUploadItem
func (LoreStorageUploadItemArrayFFI) Get ¶
func (arr LoreStorageUploadItemArrayFFI) Get(index int) LoreStorageUploadItem
func (LoreStorageUploadItemArrayFFI) Len ¶
func (arr LoreStorageUploadItemArrayFFI) Len() int
type LoreStorageUploadItemCompleteEventData ¶
type LoreStorageUploadItemCompleteEventData struct {
/* Correlation id of the item. */
Id uint64
/* The content address of the item. */
Address LoreAddress
/* 1 when the item was already durable and no upload was performed. */
AlreadyDurable bool
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageUploadItemCompleteEventDataFFI ¶
type LoreStorageUploadItemCompleteEventDataFFI struct {
/* Correlation id of the item. */
Id uint64
/* The content address of the item. */
Address LoreAddress
/* 1 when the item was already durable and no upload was performed. */
AlreadyDurable uint8
/* The outcome for the item. */
ErrorCode LoreErrorCode
}
type LoreStorageUploadItemFFI ¶
type LoreStorageUploadItemFFI struct {
/* Caller-chosen id echoed back in `UPLOAD_ITEM_COMPLETE` */
Id uint64
/* Partition of the local content to push; the zero/default partition rejects with `INVALID_ARGUMENTS` */
Partition LorePartition
/* Local content address to push; `hash == Hash::default()` is no-op success with `already_durable=1` */
Address LoreAddress
}
func NewLoreStorageUploadItem ¶
func NewLoreStorageUploadItem(opts LoreStorageUploadItem) (LoreStorageUploadItemFFI, func())
func (*LoreStorageUploadItemFFI) Clone ¶
func (e *LoreStorageUploadItemFFI) Clone() LoreStorageUploadItem
type LoreStore ¶
type LoreStore struct {
/* Registry key; `0` is the reserved invalid/unregistered sentinel (zero-init = null handle) */
HandleId uint64
}
type LoreStoreFFI ¶
type LoreStoreFFI struct {
/* Registry key; `0` is the reserved invalid/unregistered sentinel (zero-init = null handle) */
HandleId uint64
}
func NewLoreStore ¶
func NewLoreStore(opts LoreStore) (LoreStoreFFI, func())
func (*LoreStoreFFI) Clone ¶
func (e *LoreStoreFFI) Clone() LoreStore
type LoreString ¶
type LoreString struct {
Length uint64 // uintptr_t
// contains filtered or unexported fields
}
LoreString is a C-compatible string representation
func NewLoreString ¶
func NewLoreString(s string) (LoreString, func())
NewLoreString converts a Go string to LoreString
func (LoreString) Clone ¶
func (u LoreString) Clone() string
Clone converts LoreString from FFI memory to Go string
func (LoreString) String ¶
func (u LoreString) String() string
String converts LoreString to a Go string Returns empty string if the pointer is null or length is 0 Implements fmt.Stringer interface
type LoreStringArrayFFI ¶
type LoreStringArrayFFI struct {
Ptr uintptr // pointer to array of LoreString
Count uint64 // uintptr_t
}
LoreStringArrayFFI is a C-compatible string array representation
func NewLoreStringArray ¶
func NewLoreStringArray(strs []string) (LoreStringArrayFFI, func())
NewLoreStringArray converts []string to LoreStringArrayFFI
func (LoreStringArrayFFI) Clone ¶
func (arr LoreStringArrayFFI) Clone() []string
Clone converts LoreStringArrayFFI from FFI memory to Go []string This creates a copy of the data that remains valid after the callback returns
func (LoreStringArrayFFI) Get ¶
func (arr LoreStringArrayFFI) Get(index int) string
Get returns the string at the specified index Converts LoreString to Go string Panics if index is out of bounds
func (LoreStringArrayFFI) Len ¶
func (arr LoreStringArrayFFI) Len() int
Len returns the number of elements in the array
type LoreTraceLocation ¶ added in v0.8.4
type LoreTraceLocation struct {
/* The source file path. */
File string
/* The line number in the source file. */
Line uint32
/* The column number in the source file. */
Column uint32
/* The context describing the operation at this location, or an empty
string when the location has none. */
Context string
}
type LoreTraceLocationArray ¶ added in v0.8.4
type LoreTraceLocationArray = []LoreTraceLocation
type LoreTraceLocationArrayFFI ¶ added in v0.8.4
func NewLoreTraceLocationArray ¶ added in v0.8.4
func NewLoreTraceLocationArray(arr []LoreTraceLocation) (LoreTraceLocationArrayFFI, func())
func (LoreTraceLocationArrayFFI) Clone ¶ added in v0.8.4
func (arr LoreTraceLocationArrayFFI) Clone() []LoreTraceLocation
func (LoreTraceLocationArrayFFI) Get ¶ added in v0.8.4
func (arr LoreTraceLocationArrayFFI) Get(index int) LoreTraceLocation
func (LoreTraceLocationArrayFFI) Len ¶ added in v0.8.4
func (arr LoreTraceLocationArrayFFI) Len() int
type LoreTraceLocationFFI ¶ added in v0.8.4
type LoreTraceLocationFFI struct {
/* The source file path. */
File LoreString
/* The line number in the source file. */
Line uint32
/* The column number in the source file. */
Column uint32
/* The context describing the operation at this location, or an empty
string when the location has none. */
Context LoreString
}
func NewLoreTraceLocation ¶ added in v0.8.4
func NewLoreTraceLocation(opts LoreTraceLocation) (LoreTraceLocationFFI, func())
func (*LoreTraceLocationFFI) Clone ¶ added in v0.8.4
func (e *LoreTraceLocationFFI) Clone() LoreTraceLocation
type LoreUint8Array ¶
type LoreUint8Array = []bool
type LoreUint8ArrayFFI ¶
type LoreUint8ArrayFFI struct {
Ptr uintptr // pointer to array of uint8
Count uint64 // uintptr_t
}
LoreUint8ArrayFFI is a C-compatible array representation
func NewLoreUint8Array ¶
func NewLoreUint8Array(values []bool) (LoreUint8ArrayFFI, func())
NewLoreUint8Array converts []bool to LoreUint8ArrayFFI
func (LoreUint8ArrayFFI) Clone ¶
func (arr LoreUint8ArrayFFI) Clone() []bool
Clone converts LoreUint8ArrayFFI from FFI memory to Go []bool This creates a copy of the data that remains valid after the callback returns
func (LoreUint8ArrayFFI) Get ¶
func (arr LoreUint8ArrayFFI) Get(index int) bool
Get returns the element at the specified index from FFI memory Panics if index is out of bounds
func (LoreUint8ArrayFFI) Len ¶
func (arr LoreUint8ArrayFFI) Len() int
Len returns the number of elements in the array
type LoreUint32Array ¶
type LoreUint32Array = []uint32
type LoreUint32ArrayFFI ¶
func NewLoreUint32Array ¶
func NewLoreUint32Array(arr []uint32) (LoreUint32ArrayFFI, func())
func (LoreUint32ArrayFFI) Clone ¶
func (arr LoreUint32ArrayFFI) Clone() []uint32
func (LoreUint32ArrayFFI) Get ¶
func (arr LoreUint32ArrayFFI) Get(index int) uint32
func (LoreUint32ArrayFFI) Len ¶
func (arr LoreUint32ArrayFFI) Len() int