_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c159400
train
// DeleteUnmarked implements the DiskBlockCache interface for // DiskBlockCacheRemote.
{ "resource": "" }
c159401
train
// AddHomeTLF implements the DiskBlockCache interface for DiskBlockCacheRemote.
{ "resource": "" }
c159402
train
// GetTlfSize implements the DiskBlockCache interface for // DiskBlockCacheRemote.
{ "resource": "" }
c159403
train
// GetTlfIDs implements the DiskBlockCache interface for // DiskBlockCacheRemote.
{ "resource": "" }
c159404
train
// The GUI needs a way to refer to repos
{ "resource": "" }
c159405
train
// Implicit teams need to be converted back into the folder that matches their // display name. Regular teams become a regular team folder.
{ "resource": "" }
c159406
train
// folderFromTeamIDImplicit converts from a teamID for implicit teams
{ "resource": "" }
c159407
train
// If folder is nil, get for all folders.
{ "resource": "" }
c159408
train
// CanExec returns true if a gpg executable exists.
{ "resource": "" }
c159409
train
// Use a Windows output writer to eat control codes that look ugly on legacy terminals. // As a bonus, we can do color prompts this way.
{ "resource": "" }
c159410
train
// derivePrevKey derives the symmetric key used to secretbox the previous generation seed.
{ "resource": "" }
c159411
train
// Opens the output of NewPerUserKeyPrev
{ "resource": "" }
c159412
train
// NewPerUserKeyring makes a new per-user-key keyring for a given UID.
{ "resource": "" }
c159413
train
// PrepareBoxForNewDevice encrypts the latest shared key seed for a new device. // The returned box should be pushed to the server.
{ "resource": "" }
c159414
train
// Encrypt seed for receiverKeys. Use senderKey to encrypt. // Does not use the keyring at all. Attached for organizational purposes. // Used when creating a new seed.
{ "resource": "" }
c159415
train
// Prepares a prev secretbox containing generation n-1 encrypted for generation n. // Asserts that the current generation is n-1. // The `generation` parameter is n.
{ "resource": "" }
c159416
train
// AddKey registers a full key locally.
{ "resource": "" }
c159417
train
// CurrentGeneration returns what generation we're on. The version possible // Version is 1. Version 0 implies no keys are available.
{ "resource": "" }
c159418
train
// Get the encryption key of a generation.
{ "resource": "" }
c159419
train
// Get the encryption key at the user sigchain seqno.
{ "resource": "" }
c159420
train
// GetEncryptionKeyByKID finds an encryption key that matches kid.
{ "resource": "" }
c159421
train
// Sync our PerUserKeyring with the server. It will either add all new // keys since our last update, or not at all if there was an error. // Pass it a standard Go network context.
{ "resource": "" }
c159422
train
// checkPublic checks that a key matches the KIDs published by the user.
{ "resource": "" }
c159423
train
// Decrypt, expand, and check a per-user-key from a Box.
{ "resource": "" }
c159424
train
// Decrypt, expand, and check a per-user-key from a SecretBox.
{ "resource": "" }
c159425
train
// MakeLocalUsers is a helper function to generate a list of // LocalUsers suitable to use with KeybaseDaemonLocal.
{ "resource": "" }
c159426
train
// GetPublicKeys returns all of this LocalUser's public encryption keys.
{ "resource": "" }
c159427
train
// DeepCopy returns a deep copy of this `LocalUser`.
{ "resource": "" }
c159428
train
// Helper functions to get a various keys for a local user. Each // function will return the same key will always be returned for a // given user. // MakeLocalUserSigningKeyOrBust returns a unique signing key for this user.
{ "resource": "" }
c159429
train
// MakeLocalUserCryptPrivateKeyOrBust returns a unique private // encryption key for this user.
{ "resource": "" }
c159430
train
// MakeLocalTLFCryptKeyOrBust returns a unique private symmetric key // for a TLF.
{ "resource": "" }
c159431
train
// KeybaseServiceInfo is runtime info for the Keybase service.
{ "resource": "" }
c159432
train
// WriteFile writes service info as JSON in runtimeDir.
{ "resource": "" }
c159433
train
// WaitForServiceInfoFile tries to wait for a service info file, which should be // written on successful service startup.
{ "resource": "" }
c159434
train
// GetChannelTopicName gets the name of a team channel even if it's not in the inbox.
{ "resource": "" }
c159435
train
// Post a join or leave message. Must be called when the user is in the conv. // Uses a blocking sender.
{ "resource": "" }
c159436
train
// CheckAndRecordBodyHash checks the current message's body hash against all the body hashes we've // seen, to prevent replays. If the header hash is new, add it to the set.
{ "resource": "" }
c159437
train
// CheckAndRecordPrevPointer checks the current message's header hash against all the prev pointers we've // ever seen. If the current message is new, add it to the set.
{ "resource": "" }
c159438
train
// SetLogFileConfig sets the log file config to be used globally.
{ "resource": "" }
c159439
train
// scanOldLogFiles finds old archived log files corresponding to the log file path. // Returns the list of such log files sorted with the eldest one first.
{ "resource": "" }
c159440
train
// OnError is called when the identify process has encountered a hard // error.
{ "resource": "" }
c159441
train
// MakeExtendedIdentify populates a context with an ExtendedIdentify directive.
{ "resource": "" }
c159442
train
// GetExtendedIdentify returns the extended identify info associated // with the given context.
{ "resource": "" }
c159443
train
// identifyUser is the preferred way to run identifies.
{ "resource": "" }
c159444
train
// identifyUserToChan calls identifyUser and plugs the result into the error channnel.
{ "resource": "" }
c159445
train
// identifyUsers identifies the users in the given maps.
{ "resource": "" }
c159446
train
// IdentifyUserList identifies the users in the given list. Only use // this when the usernames are not known - like when rekeying.
{ "resource": "" }
c159447
train
// identifyUsersForTLF is a helper for identifyHandle for easier testing.
{ "resource": "" }
c159448
train
// IdentifyHandle identifies the canonical names in the given handle.
{ "resource": "" }
c159449
train
// NewFS creates an FS
{ "resource": "" }
c159450
train
// Adds log tags etc
{ "resource": "" }
c159451
train
// WithContext creates context for filesystem operations.
{ "resource": "" }
c159452
train
// GetVolumeInformation returns information about the whole filesystem for dokan.
{ "resource": "" }
c159453
train
// GetDiskFreeSpace returns information about free space on the volume for dokan.
{ "resource": "" }
c159454
train
// isCreation checks the flags whether a file creation is wanted.
{ "resource": "" }
c159455
train
// isTruncate checks the flags whether a file truncation is wanted.
{ "resource": "" }
c159456
train
// returnDirNoCleanup returns a dir or nothing depending on the open // flags and does not call .Cleanup on error.
{ "resource": "" }
c159457
train
// returnFileNoCleanup returns a file or nothing depending on the open // flags and does not call .Cleanup on error.
{ "resource": "" }
c159458
train
// CreateFile called from dokan, may be a file or directory.
{ "resource": "" }
c159459
train
// windowsPathSplit handles paths we get from Dokan. // As a special case `` means `\`, it gets generated // on special occasions.
{ "resource": "" }
c159460
train
// Printf prints information from the Dokan library.
{ "resource": "" }
c159461
train
// UserChanged is called from libfs.
{ "resource": "" }
c159462
train
// GetFileInformation for dokan stats.
{ "resource": "" }
c159463
train
// FindFiles for dokan readdir.
{ "resource": "" }
c159464
train
// GetFileInfo returns serialized JSON containing status information // for a file or directory entry.
{ "resource": "" }
c159465
train
// NewFavoriteList creates a FavoriteList engine.
{ "resource": "" }
c159466
train
// Favorites returns the list of favorites that Run generated.
{ "resource": "" }
c159467
train
// newWalletAPIHandler makes a walletAPIHandler.
{ "resource": "" }
c159468
train
// handle processes the Call based on the version.
{ "resource": "" }
c159469
train
// handleV1 processes Call for version 1 of the wallet JSON API.
{ "resource": "" }
c159470
train
// balances returns the account balances for all accounts owned by the current user.
{ "resource": "" }
c159471
train
// batch submits a batch of payments as fast as it can.
{ "resource": "" }
c159472
train
// cancelPayment cancels a pending relay payment and yanks back the funds.
{ "resource": "" }
c159473
train
// details outputs details for a single transaction.
{ "resource": "" }
c159474
train
// getInflation gets the inflation destination for an account.
{ "resource": "" }
c159475
train
// history outputs recent payment history for the specified account ID.
{ "resource": "" }
c159476
train
// lookup outputs an account ID for a keybase username or federation address.
{ "resource": "" }
c159477
train
// send sends XLM to an account.
{ "resource": "" }
c159478
train
// setInflation sets the inflation destination for an account.
{ "resource": "" }
c159479
train
// Check makes sure that AccountID exists and is valid.
{ "resource": "" }
c159480
train
// Check makes sure that TxID exists and is valid.
{ "resource": "" }
c159481
train
// Check makes sure that AccountID is valid and that Destination isn't empty.
{ "resource": "" }
c159482
train
// Check makes sure that the send options are valid.
{ "resource": "" }
c159483
train
// Check makes sure that the batch options are valid.
{ "resource": "" }
c159484
train
// addNoopChain adds a new chain with no ops to the chains struct, if // that pointer isn't involved in any chains yet.
{ "resource": "" }
c159485
train
// makeChainForNewOp makes a new chain for an op that does not yet // have its pointers initialized. It does so by setting Unref and Ref // to be the same for the duration of this function, and calling the // usual makeChainForOp method. This function is not goroutine-safe // with respect to newOp. Also note that re...
{ "resource": "" }
c159486
train
// newCRChains builds a new crChains object from the given list of // chainMetadatas, which must be non-empty.
{ "resource": "" }
c159487
train
// newCRChainsForIRMDs simply builds a list of chainMetadatas from the // given list of ImmutableRootMetadatas and calls newCRChains with it.
{ "resource": "" }
c159488
train
// copyOpAndRevertUnrefsToOriginals returns a shallow copy of the op, // modifying each custom BlockPointer field to reference the original // version of the corresponding blocks.
{ "resource": "" }
c159489
train
// changeOriginal converts the original of a chain to a different // original, which originated in some other branch.
{ "resource": "" }
c159490
train
// remove deletes all operations associated with the given revision // from the chains. It leaves original block pointers in place // though, even when removing operations from the head of the chain. // It returns the set of chains with at least one operation removed.
{ "resource": "" }
c159491
train
// NewBootstrap creates a Bootstrap engine.
{ "resource": "" }
c159492
train
// signedUp is true if there's a uid in config.json.
{ "resource": "" }
c159493
train
// Set parses a string representing a disk block cache initialization mode, // and outputs the mode value corresponding to that string. Defaults to // DiskCacheModeOff.
{ "resource": "" }
c159494
train
// KBFSOps implements the Config interface for ConfigLocal.
{ "resource": "" }
c159495
train
// SetKBFSOps implements the Config interface for ConfigLocal.
{ "resource": "" }
c159496
train
// KBPKI implements the Config interface for ConfigLocal.
{ "resource": "" }
c159497
train
// CurrentSessionGetter implements the Config interface for ConfigLocal.
{ "resource": "" }
c159498
train
// SetKBPKI implements the Config interface for ConfigLocal.
{ "resource": "" }
c159499
train
// KeyManager implements the Config interface for ConfigLocal.
{ "resource": "" }