_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c159200 | train | // syncedPGPKey looks for a synced pgp key for e.user. If found,
// it unlocks it. | {
"resource": ""
} | ||
c159201 | train | // gpgPrivateIndex returns an index of the private gpg keys. | {
"resource": ""
} | ||
c159202 | train | // gpgClient returns a gpg client. | {
"resource": ""
} | ||
c159203 | train | // checkArg checks loginProvisionArg for sane arguments. | {
"resource": ""
} | ||
c159204 | train | // This is used by SaltpackDecrypt as well. | {
"resource": ""
} | ||
c159205 | train | // Upon signup, a login session is created with a generated salt. | {
"resource": ""
} | ||
c159206 | train | // Clear removes the loginSession value from s. It does not
// clear the salt. Unclear how this is useful. | {
"resource": ""
} | ||
c159207 | train | // The server is telling the client to claim relay payments. | {
"resource": ""
} | ||
c159208 | train | // paymentStatus is an old IBM and shouldn't happen anymore | {
"resource": ""
} | ||
c159209 | train | // GetIDForHandle implements the IDGetter interface for ConstIDGetter. | {
"resource": ""
} | ||
c159210 | train | // NewPGPVerify creates a PGPVerify engine. | {
"resource": ""
} | ||
c159211 | train | // runAttached verifies an attached signature | {
"resource": ""
} | ||
c159212 | train | // runDetached verifies a detached signature | {
"resource": ""
} | ||
c159213 | train | // runClearsign verifies a clearsign signature | {
"resource": ""
} | ||
c159214 | train | // ListV1 implements ChatServiceHandler.ListV1. | {
"resource": ""
} | ||
c159215 | train | // ReadV1 implements ChatServiceHandler.ReadV1. | {
"resource": ""
} | ||
c159216 | train | // GetV1 implements ChatServiceHandler.GetV1. | {
"resource": ""
} | ||
c159217 | train | // SendV1 implements ChatServiceHandler.SendV1. | {
"resource": ""
} | ||
c159218 | train | // DeleteV1 implements ChatServiceHandler.DeleteV1. | {
"resource": ""
} | ||
c159219 | train | // EditV1 implements ChatServiceHandler.EditV1. | {
"resource": ""
} | ||
c159220 | train | // ReactionV1 implements ChatServiceHandler.ReactionV1. | {
"resource": ""
} | ||
c159221 | train | // DownloadV1 implements ChatServiceHandler.DownloadV1. | {
"resource": ""
} | ||
c159222 | train | // downloadV1NoStream uses DownloadFileAttachmentLocal instead of DownloadAttachmentLocal. | {
"resource": ""
} | ||
c159223 | train | // SetStatusV1 implements ChatServiceHandler.SetStatusV1. | {
"resource": ""
} | ||
c159224 | train | // MarkV1 implements ChatServiceHandler.MarkV1. | {
"resource": ""
} | ||
c159225 | train | // SearchInbox implements ChatServiceHandler.SearchInboxV1. | {
"resource": ""
} | ||
c159226 | train | // SearchRegexpV1 implements ChatServiceHandler.SearchRegexpV1. | {
"resource": ""
} | ||
c159227 | train | // need this to get message type name | {
"resource": ""
} | ||
c159228 | train | // Resolve the ConvID of the specified conversation.
// Uses tlfclient and GetInboxAndUnboxLocal's ConversationsUnverified. | {
"resource": ""
} | ||
c159229 | train | // findConversation finds a conversation.
// Uses tlfclient and GetInboxAndUnboxLocal's ConversationsUnverified. | {
"resource": ""
} | ||
c159230 | train | // NewContextWithReplayFrom constructs a new context out of ctx by calling all
// attached replay functions. This disconnects any existing context.CancelFunc. | {
"resource": ""
} | ||
c159231 | train | // BackgroundContextWithCancellationDelayer generate a "Background"
// context that is cancellation delayable | {
"resource": ""
} | ||
c159232 | train | // NewCmdSimpleFSSyncDisable creates a new cli.Command. | {
"resource": ""
} | ||
c159233 | train | // SafeWriteToFile retries safeWriteToFileOnce a few times on Windows,
// in case AV programs interfere with 2 writes in quick succession. | {
"resource": ""
} | ||
c159234 | train | // renameFile performs some retries on Windows,
// similar to SafeWriteToFile | {
"resource": ""
} | ||
c159235 | train | // Notify the shell that the thing located at path has changed | {
"resource": ""
} | ||
c159236 | train | // Manipulate registry entries to reflect the mount point icon in the shell | {
"resource": ""
} | ||
c159237 | train | // PathType returns PathType for this folder | {
"resource": ""
} | ||
c159238 | train | // Create implements the fs.NodeCreater interface for FolderList. | {
"resource": ""
} | ||
c159239 | train | // Mkdir implements the fs.NodeMkdirer interface for FolderList. | {
"resource": ""
} | ||
c159240 | train | // Remove implements the fs.NodeRemover interface for FolderList. | {
"resource": ""
} | ||
c159241 | train | // NewAutogitManager constructs a new AutogitManager instance. | {
"resource": ""
} | ||
c159242 | train | // Shutdown shuts down this manager. | {
"resource": ""
} | ||
c159243 | train | // LocalChange implements the libkbfs.Observer interface for AutogitManager. | {
"resource": ""
} | ||
c159244 | train | // BatchChanges implements the libkbfs.Observer interface for AutogitManager. | {
"resource": ""
} | ||
c159245 | train | // GetBrowserForRepo returns the root FS for the specified repo and a
// `Browser` for the branch and subdir. | {
"resource": ""
} | ||
c159246 | train | // StartAutogit launches autogit, and returns a function that should
// be called on shutdown. | {
"resource": ""
} | ||
c159247 | train | // Description returns description for component name | {
"resource": ""
} | ||
c159248 | train | // ComponentNameFromString returns ComponentName from a string | {
"resource": ""
} | ||
c159249 | train | // ResolveInstallStatus will determine necessary install actions for the current environment | {
"resource": ""
} | ||
c159250 | train | // UpdaterBinPath returns the path to the updater executable, by default is in
// the same directory as the keybase executable. | {
"resource": ""
} | ||
c159251 | train | // encode only ever gets called with the boxPublicSummary is being constructed. This means
// we don't allow mutation. Thus, we just encode it once, since if ever canonical encoding
// stops working, it won't matter, we'll still get consistent results. | {
"resource": ""
} | ||
c159252 | train | // Note that in the case of corruption, not all of these usernames may actually
// be able to be logged in as due to the noise file being corrupted, the
// keyring being uninstalled, etc. | {
"resource": ""
} | ||
c159253 | train | // identifyForReview runs identify on a user, looking only for tracking breaks.
// Sends a value to exactly one of the three channels. | {
"resource": ""
} | ||
c159254 | train | // Whether the logged-in user following the recipient.
// Unresolved assertions will false negative. | {
"resource": ""
} | ||
c159255 | train | // Subtract baseFee from the available balance.
// This shows the real available balance assuming an intent to send a 1 op tx.
// Does not error out, just shows the inaccurate answer. | {
"resource": ""
} | ||
c159256 | train | // Ready decides whether the frozen payment has been prechecked and
// the Send request matches it. | {
"resource": ""
} | ||
c159257 | train | // GetEncodedTlfEditHistory returns serialized JSON containing the
// file edit history for a folder. | {
"resource": ""
} | ||
c159258 | train | // MakeCryptoCommon returns a default CryptoCommon object. | {
"resource": ""
} | ||
c159259 | train | // MakeRandomTlfID implements the Crypto interface for CryptoCommon. | {
"resource": ""
} | ||
c159260 | train | // MakeBlockRefNonce implements the Crypto interface for CryptoCommon. | {
"resource": ""
} | ||
c159261 | train | // MakeRandomTLFEphemeralKeys implements the Crypto interface for
// CryptoCommon. | {
"resource": ""
} | ||
c159262 | train | // MakeRandomTLFKeys implements the Crypto interface for CryptoCommon. | {
"resource": ""
} | ||
c159263 | train | // EncryptPrivateMetadata implements the Crypto interface for CryptoCommon. | {
"resource": ""
} | ||
c159264 | train | // DecryptPrivateMetadata implements the Crypto interface for CryptoCommon. | {
"resource": ""
} | ||
c159265 | train | // EncryptBlock implements the Crypto interface for CryptoCommon. | {
"resource": ""
} | ||
c159266 | train | // DecryptBlock implements the Crypto interface for CryptoCommon. | {
"resource": ""
} | ||
c159267 | train | // patchPaginationLast turns on page.Last if the messages are before InboxSource's view of Expunge. | {
"resource": ""
} | ||
c159268 | train | // completeAttachmentUpload removes any attachment previews from pending preview storage | {
"resource": ""
} | ||
c159269 | train | // notifyReactionUpdates notifies the GUI after reactions are received | {
"resource": ""
} | ||
c159270 | train | // notifyEphemeralPurge notifies the GUI after messages are exploded. | {
"resource": ""
} | ||
c159271 | train | // Expunge from storage and maybe notify the gui of staleness | {
"resource": ""
} | ||
c159272 | train | // Merge with storage and maybe notify the gui of staleness | {
"resource": ""
} | ||
c159273 | train | // ClearFromDelete clears the current cache if there is a delete that we don't know about
// and returns true to the caller if it schedules a background loader job | {
"resource": ""
} | ||
c159274 | train | // AddRevision returns a copy of `pr` with a new immediately-previous
// revision added, with the existing entries moved or overwritten to
// accomodate the new entry, and with increased counts. Any existing
// revisions smaller than or equal to minRev will be removed. | {
"resource": ""
} | ||
c159275 | train | // GetState returns the overall block state of this TLF. | {
"resource": ""
} | ||
c159276 | train | // getCleanEncodedBlockHelperLocked retrieves the encoded size of the
// clean block pointed to by ptr, which must be valid, either from the
// cache or from the server. If `rtype` is `blockReadParallel`, it's
// assumed that some coordinating goroutine is holding the correct
// locks, and in that case `lState` must b... | {
"resource": ""
} | ||
c159277 | train | // ClearChargedTo clears out the cached chargedTo UID for this FBO. | {
"resource": ""
} | ||
c159278 | train | // DeepCopyFile makes a complete copy of the given file, deduping leaf
// blocks and making new random BlockPointers for all indirect blocks.
// It returns the new top pointer of the copy, and all the new child
// pointers in the copy. It takes a custom DirtyBlockCache, which
// directs where the resulting block copie... | {
"resource": ""
} | ||
c159279 | train | // newDirDataWithDBMLocked creates a new `dirData` that reads from and
// puts into a local dir block cache. If it reads a block out from
// anything but the `dbm`, it makes a copy of it before inserting it
// into the `dbm`. | {
"resource": ""
} | ||
c159280 | train | // newDirDataWithDBM is like `newDirDataWithDBMLocked`, but it must be
// called with `blockLock` unlocked, and the returned function must be
// called when the returned `dirData` is no longer in use. | {
"resource": ""
} | ||
c159281 | train | // AddDirEntryInCache adds a brand new entry to the given directory
// and updates the directory's own mtime and ctime. It returns a
// function that can be called if the change needs to be undone. | {
"resource": ""
} | ||
c159282 | train | // SetAttrInDirEntryInCache updates an entry from the given directory. | {
"resource": ""
} | ||
c159283 | train | // GetDirtyDirCopy returns a deep copy of the directory block for a
// dirty directory, while under lock, updated with all cached dirty
// entries. | {
"resource": ""
} | ||
c159284 | train | // file must have a valid parent. | {
"resource": ""
} | ||
c159285 | train | // GetEntry returns the possibly-dirty DirEntry of the given file in
// its parent DirBlock. file must have a valid parent. | {
"resource": ""
} | ||
c159286 | train | // Lookup returns the possibly-dirty DirEntry of the given file in its
// parent DirBlock, and a Node for the file if it exists. It has to
// do all of this under the block lock to avoid races with
// UpdatePointers. | {
"resource": ""
} | ||
c159287 | train | // cacheBlockIfNotYetDirtyLocked puts a block into the cache, but only
// does so if the block isn't already marked as dirty in the cache.
// This is useful when operating on a dirty copy of a block that may
// already be in the cache. | {
"resource": ""
} | ||
c159288 | train | // GetDirtyFileBlockRefs returns a list of references of all known dirty
// files. | {
"resource": ""
} | ||
c159289 | train | // GetDirtyDirBlockRefs returns a list of references of all known dirty
// directories. | {
"resource": ""
} | ||
c159290 | train | // getDirtyDirUnrefsLocked returns a list of block infos that need to be
// unreferenced for the given directory. | {
"resource": ""
} | ||
c159291 | train | // Read reads from the given file into the given buffer at the given
// offset. It returns the number of bytes read and nil, or 0 and the
// error if there was one. | {
"resource": ""
} | ||
c159292 | train | // writeGetFileLocked checks write permissions explicitly for
// writeDataLocked, truncateLocked etc and returns | {
"resource": ""
} | ||
c159293 | train | // truncateExtendLocked is called by truncateLocked to extend a file and
// creates a hole. | {
"resource": ""
} | ||
c159294 | train | // Truncate truncates or extends the given file to the given size.
// May block if there is too much unflushed data; in that case, it
// will be unblocked by a future sync. | {
"resource": ""
} | ||
c159295 | train | // IsDirty returns whether the given file is dirty; if false is
// returned, then the file doesn't need to be synced. | {
"resource": ""
} | ||
c159296 | train | // ClearCacheInfo removes any cached info for the the given file. | {
"resource": ""
} | ||
c159297 | train | // revertSyncInfoAfterRecoverableError updates the saved sync info to
// include all the blocks from before the error, except for those that
// have encountered recoverable block errors themselves. | {
"resource": ""
} | ||
c159298 | train | // mergeDirtyEntryWithDBM sets the entry for a file into a directory,
// storing all the affected blocks into `dbm` rather than the dirty
// block cache. It must only be called with an entry that's already
// been written to the dirty block cache, such that no new blocks are
// dirtied. | {
"resource": ""
} | ||
c159299 | train | // cleanUpUnusedBlocks cleans up the blocks from any previous failed
// sync attempts. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.