luxlabs header browser preview


@class brc_task_tracker, NSString, BRCAccountSession, NSMutableSet, NSMutableDictionary, NSObject, BRCStagePersistedState;
@protocol OS_dispatch_source, OS_dispatch_queue;

@interface BRCStageRegistry : NSObject <BRCModule, BRCLowDiskDelegate> {
    BRCAccountSession *_session;
    NSString *_stageDirectoryPath[10];
    unsigned long long _stageDirectoryFileID[10];
    NSMutableSet *_activeUploadStageIDs;
    NSMutableSet *_activeDownloadStageIDs;
    NSMutableSet *_unflushedStagedFileIDs;
    NSMutableDictionary *_watchedLockedFileIDs;
    NSObject<OS_dispatch_source> *_lockedTestTimer;
    NSObject<OS_dispatch_queue> *_flushingQueue;
    BRCStagePersistedState *_persistedState;
    BOOL _lowDiskSpace;
    NSObject<OS_dispatch_queue> *_queue;
    brc_task_tracker *_tracker;
}

@property (readonly, nonatomic) int deviceID;
@property (nonatomic, setter=setCurrentlyDumpingForCiconia:) BOOL currentlyDumpingForCiconia;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;
@property (readonly, nonatomic) BOOL isCancelled;

+ (BOOL)applySharingReadonlyACLsToFD:(int)a0 statInfo:(id)a1 version:(id)a2 clientZone:(id)a3 sharingOptions:(unsigned long long)a4;
+ (unsigned short)computeItemModeFromStatInfo:(id)a0 isPackage:(BOOL)a1;
+ (void)migrateStageToVersion2_0WithSession:(id)a0;

- (void)close;
- (void)open;
- (void)resume;
- (void).cxx_destruct;
- (id)initWithAccountSession:(id)a0;
- (void)cancel;
- (long long)_garbageCollectUploadThumbnails;
- (int)_performInStageDirectory:(unsigned char)a0 block:(id /* block */)a1;
- (id)pendingDeltaFetchRecordDirWithStartingChangeToken:(id)a0 recordZoneID:(id)a1;
- (id)_anchorNameForChangeToken:(id)a0 recordZoneID:(id)a1;
- (id)_anchorNameForRecordID:(id)a0;
- (id)_anchorNamePrefixForRecordZoneID:(id)a0;
- (void)_fileIDMightHaveBeenUnlocked:(id)a0;
- (BOOL)_flockToMakeLiveAtPath:(id)a0 error:(id *)a1;
- (long long)_garbageCollectDeltaSyncDatabases;
- (long long)_garbageCollectDownloads;
- (long long)_garbageCollectFaults;
- (long long)_garbageCollectOldVersions;
- (long long)_garbageCollectPackages;
- (long long)_garbageCollectQBSDatabases;
- (long long)_garbageCollectSpace:(long long)a0;
- (long long)_garbageCollectUploads;
- (BOOL)_graveyardAt:(int)a0 path:(id)a1 forItemID:(id)a2;
- (BOOL)_hasContentsInPath:(id)a0;
- (int)_openStageDirectory:(unsigned char)a0;
- (id)_pathForDirIndex:(unsigned char)a0;
- (id)_pathInStage:(unsigned long long)a0 index:(unsigned char *)a1 generationID:(unsigned int *)a2;
- (unsigned long long)_processPendingListDatabaseObjects:(id /* block */)a0;
- (long long)_purgeSpaceUnderQueue:(long long)a0 withUrgency:(int)a1;
- (long long)_removeUnusedXattrBlobs;
- (void)_updatePersistedStateWithLatestGCStartTime:(long long)a0;
- (void)_watchLockedRelpath:(id)a0;
- (void)applyMetadataOnFileDescriptor:(int)a0 liveFileDescriptor:(int)a1 itemID:(id)a2 clientZone:(id)a3 statInfo:(id)a4 version:(id)a5 sharingOptions:(unsigned long long)a6;
- (void)associateDownloadStageID:(id)a0 withOperation:(id)a1;
- (void)associateSyncUpStageID:(id)a0 withOperation:(id)a1;
- (void)cleanupStagedDownloadWithID:(id)a0 forItemID:(id)a1;
- (void)cleanupStagedSyncUpWithID:(id)a0;
- (void)cleanupStagedUploadWithID:(id)a0;
- (BOOL)copyPackageFileWithPackageFd:(int)a0 toStageFd:(int)a1 relpath:(id)a2;
- (id)createURLForDownloadWithStageID:(id)a0 name:(id)a1;
- (id)createURLForThumbnailUploadWithStageID:(id)a0;
- (id)createURLForUploadWithStageID:(id)a0 name:(id)a1;
- (BOOL)didFlushStagedFileID:(unsigned long long)a0;
- (void)disarmLockedTestTimer;
- (BOOL)existsInOldVersionStageOrGraveyard:(unsigned long long)a0;
- (BOOL)existsInStage:(unsigned long long)a0 generationID:(unsigned int *)a1;
- (void)forgetWatchedLockedFileID:(id)a0;
- (void)forgetWatchedLockedFileIDsForAppLibrary:(id)a0;
- (long long)garbageCollectSpace:(long long)a0;
- (id)loadXattrBlobForSignature:(id)a0 error:(id *)a1;
- (void)lowDiskStatusChangedForDevice:(int)a0 hasEnoughSpace:(BOOL)a1;
- (BOOL)makeDirectoryInStageGatherFileID:(unsigned long long *)a0 generationID:(unsigned int *)a1 error:(id *)a2;
- (BOOL)makeItemLive:(id)a0 fromStage:(unsigned long long)a1 bySwappingWith:(id)a2 fileName:(id)a3 error:(id *)a4;
- (id)makeNonLocalVersionSideFaultWithAdditionName:(id)a0 clientZone:(id)a1 statInfo:(id)a2 version:(id)a3 sharingOptions:(unsigned long long)a4 error:(id *)a5;
- (BOOL)makeSideFaultInStageGatherFileID:(unsigned long long *)a0 generationID:(unsigned int *)a1 documentID:(unsigned int *)a2 properties:(id)a3 inAppLibrary:(id)a4 forCreation:(BOOL)a5 error:(id *)a6;
- (BOOL)makeSymlinkWithTarget:(id)a0 inStageGatherFileID:(unsigned long long *)a1 generationID:(unsigned int *)a2 error:(id *)a3;
- (BOOL)moveFromStage:(unsigned long long)a0 toPath:(id)a1 fileName:(id)a2 error:(id *)a3;
- (BOOL)moveFromStageToGraveyard:(unsigned long long)a0 forItemID:(id)a1;
- (BOOL)moveOldVersionFromPath:(id)a0 error:(id *)a1;
- (BOOL)moveToGraveyardFromPath:(id)a0 forItemID:(id)a1 error:(id *)a2;
- (id)nonLocalFaultURLForAdditionName:(id)a0;
- (BOOL)pendingFetchRecordDirExistsInStageWithStartingChangeToken:(id)a0 recordZoneID:(id)a1;
- (id)pendingListRecordDirWithStartingChangeToken:(id)a0;
- (long long)purgableSpace;
- (long long)purgeGraveyardSpace:(long long)a0 withUrgency:(int)a1;
- (long long)purgeSpace:(long long)a0 withUrgency:(int)a1;
- (BOOL)rememberStagedDownloadWithID:(id)a0 gatherFileID:(unsigned long long *)a1 generationID:(unsigned int *)a2 documentID:(unsigned int *)a3 appLibrary:(id)a4 error:(id *)a5;
- (void)removeDatabaseObjectsForZone:(id)a0;
- (BOOL)saveXattrAtURL:(id)a0 forSignature:(id)a1 error:(id *)a2;
- (BOOL)saveXattrBlob:(id)a0 forSignature:(id)a1 error:(id *)a2;
- (void)setStageDirectoryForXattr:(id)a0;
- (BOOL)transferDocumentID:(unsigned int)a0 fromOldVersionStage:(unsigned long long)a1 toStage:(unsigned long long)a2;
- (id)urlForXattrSignature:(id)a0;
- (void)willFlushAllStagedFileIDs;

@end