_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c159900 | train | // SetRevision wraps the respective method of the underlying BareRootMetadata for convenience. | {
"resource": ""
} | ||
c159901 | train | // SetWriters wraps the respective method of the underlying BareRootMetadata for convenience. | {
"resource": ""
} | ||
c159902 | train | // SetUnresolvedReaders wraps the respective method of the underlying BareRootMetadata for convenience. | {
"resource": ""
} | ||
c159903 | train | // SetUnresolvedWriters wraps the respective method of the underlying BareRootMetadata for convenience. | {
"resource": ""
} | ||
c159904 | train | // SetConflictInfo wraps the respective method of the underlying BareRootMetadata for convenience. | {
"resource": ""
} | ||
c159905 | train | // SetFinalizedInfo wraps the respective method of the underlying BareRootMetadata for convenience. | {
"resource": ""
} | ||
c159906 | train | // SetLastModifyingWriter wraps the respective method of the underlying BareRootMetadata for convenience. | {
"resource": ""
} | ||
c159907 | train | // SetLastModifyingUser wraps the respective method of the underlying BareRootMetadata for convenience. | {
"resource": ""
} | ||
c159908 | train | // SetTlfID wraps the respective method of the underlying BareRootMetadata for convenience. | {
"resource": ""
} | ||
c159909 | train | // HasKeyForUser wraps the respective method of the underlying BareRootMetadata for convenience. | {
"resource": ""
} | ||
c159910 | train | // fakeInitialRekey wraps the FakeInitialRekey test function for
// convenience. | {
"resource": ""
} | ||
c159911 | train | // AddKeyGeneration adds a new key generation to this revision of metadata. | {
"resource": ""
} | ||
c159912 | train | // GetHistoricTLFCryptKey implements the KeyMetadata interface for RootMetadata. | {
"resource": ""
} | ||
c159913 | train | // IsWriter checks that the given user is a valid writer of the TLF
// right now. Implements the KeyMetadata interface for RootMetadata. | {
"resource": ""
} | ||
c159914 | train | // IsReader checks that the given user is a valid reader of the TLF
// right now. | {
"resource": ""
} | ||
c159915 | train | // CheckValidSuccessor makes sure the given ReadOnlyRootMetadata is a
// valid successor to the current one, and returns an error otherwise. | {
"resource": ""
} | ||
c159916 | train | // MakeImmutableRootMetadata makes a new ImmutableRootMetadata from
// the given RMD and its corresponding MdID. | {
"resource": ""
} | ||
c159917 | train | // WriteFile implements writes for dokan. Note a write triggers quota
// reclamation, but does not wait for it to finish. If you want to
// wait, write to SyncFromServerFileName. | {
"resource": ""
} | ||
c159918 | train | // Internal AddMemberTx methods. They should not be used by consumers
// of AddMemberTx API. Users of this API should avoid lowercase
// methods and fields at all cost, even from same package. | {
"resource": ""
} | ||
c159919 | train | // Methods modifying payloads are supposed to always succeed given the
// preconditions are satisfied. If not, the usual result is either a
// no-op or an invalid transaction that is rejected by team player
// pre-check or by the server. Public methods should make sure that
// internal methods are always called with th... | {
"resource": ""
} | ||
c159920 | train | // createKeybaseInvite queues Keybase-type invite for given UV and role. | {
"resource": ""
} | ||
c159921 | train | // createInvite queues an invite for invite name with role. | {
"resource": ""
} | ||
c159922 | train | // sweepCryptoMembers will queue "removes" for all cryptomembers with given UID.
// exceptAdminsRemovingOwners - But don't try to remove owners if we are admin. | {
"resource": ""
} | ||
c159923 | train | // sweepCryptoMembersOlderThan will queue "removes" for all cryptomembers
// with same UID as given and EldestSeqno lower than in given UV. | {
"resource": ""
} | ||
c159924 | train | // AddMemberByUsername will add member by username and role. It
// checks if given username can become crypto member or a PUKless
// member. It will also clean up old invites and memberships if
// necessary. | {
"resource": ""
} | ||
c159925 | train | // newNonce24 creates a nonce with a random 20 byte prefix and
// a counter starting at 0. | {
"resource": ""
} | ||
c159926 | train | // newNonce24 creates a nonce with a random 20 byte prefix and
// a counter starting at 1. | {
"resource": ""
} | ||
c159927 | train | // Nonce gets the 24 byte nonce prefix + counter and increments
// the counter so that the nonce isn't reused. | {
"resource": ""
} | ||
c159928 | train | // NewFileInfoFile returns a special file that contains a text
// representation of a file's KBFS metadata. | {
"resource": ""
} | ||
c159929 | train | // NewKeybaseServiceBase makes a new KeybaseService. | {
"resource": ""
} | ||
c159930 | train | // FillClients sets the client protocol implementations needed for a KeybaseService. | {
"resource": ""
} | ||
c159931 | train | // updateKIDNamesFromParents sets the name of each KID without a name
// that has a a parent with a name, to that parent's name. | {
"resource": ""
} | ||
c159932 | train | // ClearCaches implements the KeybaseService interface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159933 | train | // LoggedIn implements keybase1.NotifySessionInterface. | {
"resource": ""
} | ||
c159934 | train | // LoggedOut implements keybase1.NotifySessionInterface. | {
"resource": ""
} | ||
c159935 | train | // KeyfamilyChanged implements keybase1.NotifyKeyfamilyInterface. | {
"resource": ""
} | ||
c159936 | train | // ReachabilityChanged implements keybase1.ReachabiltyInterface. | {
"resource": ""
} | ||
c159937 | train | // StartReachability implements keybase1.ReachabilityInterface. | {
"resource": ""
} | ||
c159938 | train | // CheckReachability implements keybase1.ReachabilityInterface. | {
"resource": ""
} | ||
c159939 | train | // PaperKeyCached implements keybase1.NotifyPaperKeyInterface. | {
"resource": ""
} | ||
c159940 | train | // ClientOutOfDate implements keybase1.NotifySessionInterface. | {
"resource": ""
} | ||
c159941 | train | // RootAuditError implements keybase1.NotifyAuditInterface. | {
"resource": ""
} | ||
c159942 | train | // ConvertIdentifyError converts a errors during identify into KBFS errors | {
"resource": ""
} | ||
c159943 | train | // Resolve implements the KeybaseService interface for KeybaseServiceBase. | {
"resource": ""
} | ||
c159944 | train | // Identify implements the KeybaseService interface for KeybaseServiceBase. | {
"resource": ""
} | ||
c159945 | train | // NormalizeSocialAssertion implements the KeybaseService interface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159946 | train | // ResolveIdentifyImplicitTeam implements the KeybaseService interface
// for KeybaseServiceBase. | {
"resource": ""
} | ||
c159947 | train | // ResolveImplicitTeamByID implements the KeybaseService interface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159948 | train | // LoadUserPlusKeys implements the KeybaseService interface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159949 | train | // CreateTeamTLF implements the KeybaseService interface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159950 | train | // GetTeamSettings implements the KeybaseService interface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159951 | train | // GetCurrentMerkleRoot implements the KeybaseService interface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159952 | train | // VerifyMerkleRoot implements the KBPKI interface for KeybaseServiceBase. | {
"resource": ""
} | ||
c159953 | train | // CurrentSession implements the KeybaseService interface for KeybaseServiceBase. | {
"resource": ""
} | ||
c159954 | train | // FavoriteAdd implements the KeybaseService interface for KeybaseServiceBase. | {
"resource": ""
} | ||
c159955 | train | // FavoriteDelete implements the KeybaseService interface for KeybaseServiceBase. | {
"resource": ""
} | ||
c159956 | train | // FavoriteList implements the KeybaseService interface for KeybaseServiceBase. | {
"resource": ""
} | ||
c159957 | train | // NotifyOnlineStatusChanged implements the KeybaseService interface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159958 | train | // Notify implements the KeybaseService interface for KeybaseServiceBase. | {
"resource": ""
} | ||
c159959 | train | // NotifyPathUpdated implements the KeybaseService interface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159960 | train | // NotifySyncStatus implements the KeybaseService interface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159961 | train | // NotifyOverallSyncStatus implements the KeybaseService interface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159962 | train | // FlushUserFromLocalCache implements the KeybaseService interface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159963 | train | // FSEditListRequest implements keybase1.NotifyFSRequestInterface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159964 | train | // FSSyncStatusRequest implements keybase1.NotifyFSRequestInterface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159965 | train | // TeamChangedByID implements keybase1.NotifyTeamInterface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159966 | train | // TeamChangedByName implements keybase1.NotifyTeamInterface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159967 | train | // TeamDeleted implements keybase1.NotifyTeamInterface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159968 | train | // TeamAbandoned implements keybase1.NotifyTeamInterface for KeybaseServiceBase. | {
"resource": ""
} | ||
c159969 | train | // AvatarUpdated implements keybase1.NotifyTeamInterface for KeybaseServiceBase. | {
"resource": ""
} | ||
c159970 | train | // StartMigration implements keybase1.ImplicitTeamMigrationInterface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159971 | train | // FinalizeMigration implements keybase1.ImplicitTeamMigrationInterface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159972 | train | // GetTLFCryptKeys implements the TlfKeysInterface interface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159973 | train | // GetPublicCanonicalTLFNameAndID implements the TlfKeysInterface interface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159974 | train | // EstablishMountDir asks the service for the current mount path | {
"resource": ""
} | ||
c159975 | train | // PutGitMetadata implements the KeybaseService interface for
// KeybaseServiceBase. | {
"resource": ""
} | ||
c159976 | train | // NewEventuallyConsistentMerkleRoot creates a new
// EventuallyConsistentMerkleRoot object. | {
"resource": ""
} | ||
c159977 | train | // Get returns the current merkle root, and the server timestamp of
// that root. To help avoid having too frequent calls into the API
// server, caller can provide a positive tolerance, to accept stale
// LimitBytes and UsageBytes data. If tolerance is 0 or negative, this
// always makes a blocking RPC to bserver and ... | {
"resource": ""
} | ||
c159978 | train | // See NCC-KB2018-006 | {
"resource": ""
} | ||
c159979 | train | // ToLinkSummary converts a ChainLink into a MerkleTriple object. | {
"resource": ""
} | ||
c159980 | train | // IsHighUserLink determines whether a chainlink counts as "high" in a user's chain,
// which is defined as an Eldest link, a link with seqno=1, a link that is Sibkey,
// PGPUpdate, Revoke, or any link that is revoking. | {
"resource": ""
} | ||
c159981 | train | // ApplicationKey returns the most recent key for an application. | {
"resource": ""
} | ||
c159982 | train | // If uv.Uid is set, then username is ignored.
// Otherwise resolvedUsername and uv are ignored. | {
"resource": ""
} | ||
c159983 | train | // ForceMerkleRootUpdate will call LookupTeam on MerkleClient to
// update cached merkle root to include latest team sigs. Needed if
// client wants to create a signature that refers to an adminship,
// signature's merkle_root has to be more fresh than adminship's. | {
"resource": ""
} | ||
c159984 | train | // All admins, owners, and implicit admins of this team. | {
"resource": ""
} | ||
c159985 | train | // Send notifyrouter messages.
// Modifies `changes`
// Update to the latest seqno that we're passing though, don't make any assumptions about number of sigs.
// Note that we're probably going to be getting this same notification a second time, since it will
// bounce off a gregor and back to us. But they are idempoten... | {
"resource": ""
} | ||
c159986 | train | // NewFastLoader makes a new fast loader and initializes it. | {
"resource": ""
} | ||
c159987 | train | // NewFastTeamLoaderAndInstall creates a new loader and installs it into G. | {
"resource": ""
} | ||
c159988 | train | // Load fast-loads the given team. Provide some hints as to how to load it. You can specify an application
// and key generations needed, if you are entering chat. Those links will be returned unstubbed
// from the server, and then the keys can be output in the result. | {
"resource": ""
} | ||
c159989 | train | // verifyTeamNameViaParentLoad takes a team ID, and a pointer to a parent team's sigchain, and computes
// the full resolved team name. If the pointer is null, we'll assume this is a root team and do the
// verification via hash-comparison. | {
"resource": ""
} | ||
c159990 | train | // load acquires a lock by team ID, and the runs loadLockedWithRetries. | {
"resource": ""
} | ||
c159991 | train | // loadLockedWithRetries attempts two loads of the team. If the first iteration returns an FTLMissingSeedError,
// we'll blast through the cache and attempt a full reload a second time. Then that's for all the marbles. | {
"resource": ""
} | ||
c159992 | train | // dervieSeedAtGeneration either goes to cache or rederives the PTK private seed
// for the given generation gen. | {
"resource": ""
} | ||
c159993 | train | // deriveKeyForApplicationAtGeneration pulls from cache or generates the PTK for the
// given application at the given generation. | {
"resource": ""
} | ||
c159994 | train | // deriveKeysForApplication pulls from cache or generates several geneartions of PTKs
// for the given application. | {
"resource": ""
} | ||
c159995 | train | // toResult turns the current fast state into a fastLoadRes. | {
"resource": ""
} | ||
c159996 | train | // findState in cache finds the team ID's state in an in-memory cache. | {
"resource": ""
} | ||
c159997 | train | // stateHasKeys checks to see if the given state has the keys specified in the shopping list. If not, it will
// modify the shopping list and return false. If yes, it will leave the shopping list unchanged and return
// true. | {
"resource": ""
} | ||
c159998 | train | // stateHasDownPointers checks to see if the given state has the down pointers specified in the shopping list.
// If not, it will change the shopping list to have the down pointers and return false. If yes, it will
// leave the shopping list unchanged and return true. | {
"resource": ""
} | ||
c159999 | train | // computeWithPreviousState looks into the given load arg, and also our current cached state, to figure
// what to get from the server. The results are compiled into a "shopping list" that we'll later
// use when we concoct our server request. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.