_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c158600
train
// CreateWalletSoft creates a user's initial wallet if they don't already have one. // Does not get in the way of intentional user actions.
{ "resource": "" }
c158601
train
// Upkeep makes sure the bundle is encrypted for the user's latest PUK.
{ "resource": "" }
c158602
train
// SendPaymentCLI sends XLM from CLI.
{ "resource": "" }
c158603
train
// SendPaymentGUI sends XLM from GUI.
{ "resource": "" }
c158604
train
// SendPathPaymentCLI sends a path payment from CLI.
{ "resource": "" }
c158605
train
// SpecMiniChatPayments returns a summary of the payment amounts for each recipient // and a total.
{ "resource": "" }
c158606
train
// Claim claims a waiting relay. // If `dir` is nil the direction is inferred.
{ "resource": "" }
c158607
train
// If `dir` is nil the direction is inferred.
{ "resource": "" }
c158608
train
// Return an error if asset is completely outside of what we understand, like // asset unknown types or unexpected length.
{ "resource": "" }
c158609
train
// ChangeAccountName changes the name of an account. // Make sure to keep this in sync with ValidateAccountNameLocal. // An empty name is not allowed. // Renaming an account to an already used name is blocked. // Maximum length of AccountNameMaxRunes runes.
{ "resource": "" }
c158610
train
// AccountExchangeRate returns the exchange rate for an account for the logged in user. // Note that it is possible that multiple users can own the same account and have // different display currency preferences.
{ "resource": "" }
c158611
train
// WalletAccount returns stellar1.WalletAccountLocal for accountID.
{ "resource": "" }
c158612
train
// AccountDetails gets stellar1.AccountDetails for accountID. // // It has the side effect of updating the badge state with the // stellar payment unread count for accountID.
{ "resource": "" }
c158613
train
// GetSize tries to get the size for the current terminal. // It if fails it returns 80x24
{ "resource": "" }
c158614
train
// NewQuarantineXattrHandler returns a handler that handles // com.apple.quarantine, but returns fuse.ENOTSUP for all other xattrs.
{ "resource": "" }
c158615
train
// makeDiskJournal returns a new diskJournal for the given directory.
{ "resource": "" }
c158616
train
// clear completely removes the journal directory.
{ "resource": "" }
c158617
train
// move moves the journal to the given directory, which should share // the same parent directory as the current journal directory.
{ "resource": "" }
c158618
train
// Download PGP keys for tracked users and update the local GPG keyring. // If usernames is nonempty, update only those users.
{ "resource": "" }
c158619
train
// Exports active PGP keys. Only allows armored export.
{ "resource": "" }
c158620
train
// Select an existing key and add to Keybase.
{ "resource": "" }
c158621
train
// Dismiss the PGP unlock via secret_store_file notification.
{ "resource": "" }
c158622
train
// push the PGP key that matches the given fingerprints from GnuPG to KBFS. If it is empty, then // push all matching PGP keys in the user's sigchain.
{ "resource": "" }
c158623
train
// pull the given PGP keys from KBFS to the local GnuPG keychain. If it is empty, then // attempt to pull all matching PGP keys in the user's sigchain.
{ "resource": "" }
c158624
train
// Set the PGP storage notification dismiss flag in the local DB.
{ "resource": "" }
c158625
train
// NewMountInterrupter creates a new MountInterrupter.
{ "resource": "" }
c158626
train
// MountAndSetUnmount calls Mount and sets the unmount function // to be called once if mount succeeds. // If Done has already been called MountAndSetUnmount returns // an error.
{ "resource": "" }
c158627
train
// Done signals Wait and runs the unmounter if set by MountAndSetUnmount. // It can be called multiple times with no harm. Each call triggers a call to // the unmounter.
{ "resource": "" }
c158628
train
// ToStatus implements the keybase1.ToStatusAble interface for simpleFSError
{ "resource": "" }
c158629
train
// NewSimpleFS creates a new SimpleFS instance.
{ "resource": "" }
c158630
train
// remoteTlfAndPath decodes a remote path for us.
{ "resource": "" }
c158631
train
// SimpleFSListRecursiveToDepth - Begin recursive list of items in directory at path up to a given depth.
{ "resource": "" }
c158632
train
// SimpleFSReadList - Get list of Paths in progress. Can indicate status of pending // to get more entries.
{ "resource": "" }
c158633
train
// SimpleFSListFavorites lists the favorite, new, // and ignored folders of the logged in user, // getting its data from the KBFS Favorites cache. If the cache is stale, // this will trigger a network request.
{ "resource": "" }
c158634
train
// SimpleFSSymlink starts making a symlink of a file or directory
{ "resource": "" }
c158635
train
// SimpleFSGetRevisions - Get revisions for a file
{ "resource": "" }
c158636
train
// SimpleFSCancel starts to cancel op with the given opid. // Also remove any pending references of opid everywhere. // Returns before cancellation is guaranteeded to be done - that // may take some time. Currently always returns nil.
{ "resource": "" }
c158637
train
// SimpleFSCheck - Check progress of pending operation // Progress variable is still TBD. // Return errNoResult if no operation found.
{ "resource": "" }
c158638
train
// SimpleFSGetHTTPAddressAndToken returns a random token to be used for the // local KBFS http server.
{ "resource": "" }
c158639
train
// SimpleFSUserEditHistory returns the edit history for the logged-in user.
{ "resource": "" }
c158640
train
// SimpleFSFolderEditHistory returns the edit history for the given TLF.
{ "resource": "" }
c158641
train
// SimpleFSReset resets the given TLF.
{ "resource": "" }
c158642
train
// LocalChange implements the libkbfs.Observer interface for SimpleFS.
{ "resource": "" }
c158643
train
// BatchChanges implements the libkbfs.Observer interface for SimpleFS.
{ "resource": "" }
c158644
train
// SimpleFSGetUserQuotaUsage returns the quota usage information for // the logged-in user.
{ "resource": "" }
c158645
train
// SimpleFSGetTeamQuotaUsage returns the quota usage information for // the given team.
{ "resource": "" }
c158646
train
// SimpleFSFolderSyncConfigAndStatus gets the given folder's sync config.
{ "resource": "" }
c158647
train
// SimpleFSSetFolderSyncConfig implements the SimpleFSInterface.
{ "resource": "" }
c158648
train
// SimpleFSClearConflictState implements the SimpleFS interface.
{ "resource": "" }
c158649
train
// handleCommonSpecialFile handles special files that are present both // within a TLF and outside a TLF.
{ "resource": "" }
c158650
train
// handleTLFSpecialFile handles special files that are within a TLF.
{ "resource": "" }
c158651
train
// MakeCPUProfileFilename returns a filename to use for a CPU profile // file in the given directory with the given start time and duration.
{ "resource": "" }
c158652
train
// MakeTraceFilename returns a filename to use for a trace file // in the given directory with the given start time and duration.
{ "resource": "" }
c158653
train
// verifyWithPayload verifies the NaclSigInfo s, with the payload payload. Note that // s may or may not have a payload already baked into it. If it does, and checkPayloadEquality // is true, then we assert that the "baked-in" payload is equal to the specified payload. // We'll only pass `false` for this flag from just...
{ "resource": "" }
c158654
train
// NewInfiniteChannelWrapper returns a wrapper around a new infinite // channel.
{ "resource": "" }
c158655
train
// Check looks inside the JSON file to see if any fields are poorly specified
{ "resource": "" }
c158656
train
// GetUserConfig looks for the `current_user` field to see if there's // a corresponding user object in the `users` table. There really should be.
{ "resource": "" }
c158657
train
// NukeUser deletes the given user from the config file, or if // the given user is empty, deletes the current user from the // config file.
{ "resource": "" }
c158658
train
// GetUserConfigForUsername sees if there's a UserConfig object for the given // username previously stored.
{ "resource": "" }
c158659
train
// GetUserConfigForUID sees if there's a UserConfig object for the given UIDs previously stored.
{ "resource": "" }
c158660
train
// SetDeviceID sets the device field of the UserConfig object
{ "resource": "" }
c158661
train
// Called back from inside our subcommands, when they're picked...
{ "resource": "" }
c158662
train
// AddHelpTopics appends topics to the list of help topics for // this app.
{ "resource": "" }
c158663
train
// NewBlockServerMemory constructs a new BlockServerMemory that stores // its data in memory.
{ "resource": "" }
c158664
train
// Get implements the BlockServer interface for BlockServerMemory.
{ "resource": "" }
c158665
train
// doPut consolidates the put logic for implementing both the Put and PutAgain interface.
{ "resource": "" }
c158666
train
// PutAgain implements the BlockServer interface for BlockServerMemory.
{ "resource": "" }
c158667
train
// AddBlockReference implements the BlockServer interface for BlockServerMemory.
{ "resource": "" }
c158668
train
// RemoveBlockReferences implements the BlockServer interface for // BlockServerMemory.
{ "resource": "" }
c158669
train
// ArchiveBlockReferences implements the BlockServer interface for // BlockServerMemory.
{ "resource": "" }
c158670
train
// GetLiveBlockReferences implements the BlockServer interface for // BlockServerMemory.
{ "resource": "" }
c158671
train
// IsUnflushed implements the BlockServer interface for BlockServerMemory.
{ "resource": "" }
c158672
train
// Shutdown implements the BlockServer interface for BlockServerMemory.
{ "resource": "" }
c158673
train
// NewKeyCacheMeasured creates and returns a new KeyCacheMeasured // instance with the given delegate and registry.
{ "resource": "" }
c158674
train
// GetTLFCryptKey implements the KeyCache interface for // KeyCacheMeasured.
{ "resource": "" }
c158675
train
// PutTLFCryptKey implements the KeyCache interface for // KeyCacheMeasured.
{ "resource": "" }
c158676
train
// mountpointMatchesRunmode returns true if `mp` contains `runmode` at // the end of a component of the path, or followed by a space.
{ "resource": "" }
c158677
train
// SimpleSignJson marshals the given Json structure and then signs it.
{ "resource": "" }
c158678
train
// PerUserKeyProof creates a proof introducing a new per-user-key generation. // `signingKey` is the key signing in this new key. Not to be confused with the derived per-user-key signing key.
{ "resource": "" }
c158679
train
// StellarProof creates a proof of a stellar wallet.
{ "resource": "" }
c158680
train
// DecodeRootMetadata deserializes a metadata block into the specified // versioned structure.
{ "resource": "" }
c158681
train
// DumpRootMetadata returns a detailed dump of the given // RootMetadata's contents.
{ "resource": "" }
c158682
train
// Adds a folder to a user's list of favorite folders.
{ "resource": "" }
c158683
train
// Removes a folder from a user's list of favorite folders.
{ "resource": "" }
c158684
train
// Returns all of a user's favorite folders.
{ "resource": "" }
c158685
train
// NewCmdWatchdog2 constructs watchdog command
{ "resource": "" }
c158686
train
// Equals returns whether both sets of keys are equal.
{ "resource": "" }
c158687
train
// Equals returns whether both sets of users are equal, and they all // have corresponding equal sets of keys.
{ "resource": "" }
c158688
train
// MergeUsers returns a UserDeviceKeyServerHalves that contains all // the users in serverHalves and other, which must be disjoint. This // isn't a deep copy.
{ "resource": "" }
c158689
train
// MergeUsers returns a ServerHalfRemovalInfo that contains all the // users in info and other, which must be disjoint. This isn't a deep // copy.
{ "resource": "" }
c158690
train
// CheckForKnownPtr implements BlockCache.
{ "resource": "" }
c158691
train
// ParseArgv gets the optional path, if any.
{ "resource": "" }
c158692
train
// searchConv finds all messages that match the given set of tokens and opts, // results are ordered desc by msg id.
{ "resource": "" }
c158693
train
// preSearch is the first pipeline stage, blocking on reindexing conversations // if PRESEARCH_SYNC is set. As conversations are processed they are passed to // the `search` stage via `preSearchCh`.
{ "resource": "" }
c158694
train
// search performs the actual search on each conversation after it completes // preSearch via `preSearchCh`
{ "resource": "" }
c158695
train
// postSearch is the final pipeline stage, reindexing conversations if // POSTSEARCH_SYNC is set.
{ "resource": "" }
c158696
train
// send 0% progress
{ "resource": "" }
c158697
train
// LoadScanProofsIgnore loads an ignore file and returns the list of proofids to ignore.
{ "resource": "" }
c158698
train
// Valid returns true if the ChatChannel has at least a Name.
{ "resource": "" }
c158699
train
// doBackgroundWork currently only does auto-flushing. It assumes that // ctx is canceled when the background processing should stop.
{ "resource": "" }