_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c158900 | train | // elevated means we try running as user | {
"resource": ""
} | ||
c158901 | train | // NewGitConfigWithoutRemotesStorer creates a new git config
// implementation that strips remotes from the config before writing
// them to disk. | {
"resource": ""
} | ||
c158902 | train | // SetConfig implements the `storer.Storer` interface. | {
"resource": ""
} | ||
c158903 | train | // AddRemainingRecipients adds everyone in existing to m.recipients that isn't in m.None. | {
"resource": ""
} | ||
c158904 | train | // can return nil | {
"resource": ""
} | ||
c158905 | train | // defaultBServer returns the default value for the -bserver flag. | {
"resource": ""
} | ||
c158906 | train | // defaultMetadataVersion returns the default metadata version per run mode. | {
"resource": ""
} | ||
c158907 | train | // DefaultInitParams returns default init params | {
"resource": ""
} | ||
c158908 | train | // AddFlags adds libkbfs flags to the given FlagSet. Returns an
// InitParams that will be filled in once the given FlagSet is parsed. | {
"resource": ""
} | ||
c158909 | train | // GetDefaultsUsageString returns a string describing the default
// values of flags based on the run mode. | {
"resource": ""
} | ||
c158910 | train | // InitLogWithPrefix sets up logging switching to a log file if
// necessary, given a prefix and a default log path. Returns a valid
// logger even on error, which are non-fatal, thus errors from this
// function may be ignored. Possible errors are logged to the logger
// returned. | {
"resource": ""
} | ||
c158911 | train | // InitLog sets up logging switching to a log file if necessary.
// Returns a valid logger even on error, which are non-fatal, thus
// errors from this function may be ignored.
// Possible errors are logged to the logger returned. | {
"resource": ""
} | ||
c158912 | train | // NewAccountDelete creates a AccountDelete engine. | {
"resource": ""
} | ||
c158913 | train | // ShouldCreateMissedLookup implements the Node interface for
// repoDirNode. | {
"resource": ""
} | ||
c158914 | train | // WrapChild implements the Node interface for autogitRootNode. | {
"resource": ""
} | ||
c158915 | train | // ShouldCreateMissedLookup implements the Node interface for
// rootNode. | {
"resource": ""
} | ||
c158916 | train | // WrapChild implements the Node interface for rootNode. | {
"resource": ""
} | ||
c158917 | train | // NewPaperKeyPrimary creates a PaperKeyPrimary engine. | {
"resource": ""
} | ||
c158918 | train | // CheckUIDAgainstCasedUsername takes the input string, does not convert toLower,
// and then hashes it to recover a UID. This is a workaround for some
// users whose UIDs were computed incorrectly. | {
"resource": ""
} | ||
c158919 | train | // Fetch data and check the hash. | {
"resource": ""
} | ||
c158920 | train | // updateRoot kicks MerkleClient to update its merkle root
// by doing a LookupUser on some arbitrary user. | {
"resource": ""
} | ||
c158921 | train | // Get from local db. Can return nil. | {
"resource": ""
} | ||
c158922 | train | // Logs errors. | {
"resource": ""
} | ||
c158923 | train | // hex of sha512 | {
"resource": ""
} | ||
c158924 | train | // Error implements the error interface for HandleExtensionMismatchError | {
"resource": ""
} | ||
c158925 | train | // fillStat fill a dokan.Stat from a libkbfs.DirEntry.
// Note that handling symlinks to directories requires extra processing not done here. | {
"resource": ""
} | ||
c158926 | train | // addFileAttribute adds a file attribute to the stat struct. | {
"resource": ""
} | ||
c158927 | train | // errToDokan makes some libkbfs errors easier to digest in dokan. Not needed in most places. | {
"resource": ""
} | ||
c158928 | train | // defaultDirectoryInformation returns default directory information. | {
"resource": ""
} | ||
c158929 | train | // defaultFileInformation returns default file information. | {
"resource": ""
} | ||
c158930 | train | // defaultSymlinkFileInformation returns default symlink to file information. | {
"resource": ""
} | ||
c158931 | train | // defaultSymlinkDirInformation returns default symlink to directory information. | {
"resource": ""
} | ||
c158932 | train | // makeBlockDiskStore returns a new blockDiskStore for the given
// directory. | {
"resource": ""
} | ||
c158933 | train | // The functions below are for building various paths. | {
"resource": ""
} | ||
c158934 | train | // makeDir makes the directory for the given block ID and writes the
// ID file, if necessary. | {
"resource": ""
} | ||
c158935 | train | // getRefInfo returns the references for the given ID. exclusify must
// have been called by the caller. | {
"resource": ""
} | ||
c158936 | train | // putRefInfo stores the given references for the given ID. exclusify
// must have been called by the caller. | {
"resource": ""
} | ||
c158937 | train | // addRefs adds references for the given contexts to the given ID, all
// with the same status and tag. `exclusify` must be called by the
// caller. | {
"resource": ""
} | ||
c158938 | train | // getData returns the data and server half for the given ID, if
// present. `exclusify` must be called by the caller. | {
"resource": ""
} | ||
c158939 | train | // getData returns the data and server half for the given ID, if
// present. | {
"resource": ""
} | ||
c158940 | train | // put puts the given data for the block, which may already exist, and
// adds a reference for the given context. If isRegularPut is true,
// additional validity checks are performed. If err is nil, putData
// indicates whether the data didn't already exist and was put; if
// false, it means that the data already exis... | {
"resource": ""
} | ||
c158941 | train | // remove removes any existing data for the given ID, which must not
// have any references left. | {
"resource": ""
} | ||
c158942 | train | // Return pointers into `convs` for the convs belonging to `teamID`. | {
"resource": ""
} | ||
c158943 | train | // Update any local conversations with this team ID. | {
"resource": ""
} | ||
c158944 | train | // FolderType returns the keybase1.FolderType corresponding to the
// given TLF type. | {
"resource": ""
} | ||
c158945 | train | // ParseTlfTypeFromPath parses str into a Type. | {
"resource": ""
} | ||
c158946 | train | // TypeFromFolderType returns the Type corresponding to the given
// keybase1.FolderType. | {
"resource": ""
} | ||
c158947 | train | // MarshalBinary implements the encoding.BinaryMarshaler interface for ID. | {
"resource": ""
} | ||
c158948 | train | // UnmarshalBinary implements the encoding.BinaryUnmarshaler interface
// for ID. | {
"resource": ""
} | ||
c158949 | train | // SafeType returns the type of TLF represented by this ID. If the ID
// isn't valid, it returns tlf.Unknown along with an error. | {
"resource": ""
} | ||
c158950 | train | // Type returns the type of TLF represented by this ID.
//
// Note that this function panics if the ID suffix is unknown, rather than
// returning tlf.Unknown. | {
"resource": ""
} | ||
c158951 | train | // ParseID parses a hex encoded ID. Returns NullID and an
// InvalidIDError on failure. | {
"resource": ""
} | ||
c158952 | train | // MakeRandomID makes a random ID using a cryptographically secure
// RNG. Returns NullID on failure. | {
"resource": ""
} | ||
c158953 | train | // MakeIDFromTeam makes a deterministic TLF ID from a team ID and an epoch
// representing how many times a new TLF has been needed for this
// team. Returns NullID on failure. | {
"resource": ""
} | ||
c158954 | train | // GetEpochFromTeamTLF returns 1) whether this ID matches the given
// team TID, and 2) if so, which epoch it is. | {
"resource": ""
} | ||
c158955 | train | // GenerateSHA256PasswordHash generates a SHA256 based password hash. | {
"resource": ""
} | ||
c158956 | train | // NewSigsList creates a SigsList engine. | {
"resource": ""
} | ||
c158957 | train | // Sigs returns the sig list, after processing. | {
"resource": ""
} | ||
c158958 | train | // FindSecretKey will, given a list of KIDs, find the first one in the
// list that has a corresponding secret key in the keyring file. | {
"resource": ""
} | ||
c158959 | train | // WriteTo is similar to GetFilename described just above in terms of
// locking discipline. | {
"resource": ""
} | ||
c158960 | train | // Returns a duration and English string like "2 days". | {
"resource": ""
} | ||
c158961 | train | // Like chatSend but uses PostDeleteHistoryByAge. | {
"resource": ""
} | ||
c158962 | train | // NewLinkCache creates a LinkCache. When finished using this
// LinkCache, call Shutdown on it to clean up. | {
"resource": ""
} | ||
c158963 | train | // Get retrieves a ChainLink from the cache. If nothing
// exists for this LinkID, it will return false for ok. | {
"resource": ""
} | ||
c158964 | train | // Remove deletes a ChainLink from the cache. | {
"resource": ""
} | ||
c158965 | train | // Len returns the number of ChainLinks cached. | {
"resource": ""
} | ||
c158966 | train | // NewFavoriteIgnore creates a FavoriteIgnore engine. | {
"resource": ""
} | ||
c158967 | train | // Less returns true if i's ctime is before j's, or if they're equal and
// i's MsgID is lexicographically before j's. | {
"resource": ""
} | ||
c158968 | train | // isNoSuchNameError checks for libkbfs.NoSuchNameError. | {
"resource": ""
} | ||
c158969 | train | // isSafeFolder returns whether a Folder is considered safe. | {
"resource": ""
} | ||
c158970 | train | // If no first query time is found in the local db, this function writes the
// current time. | {
"resource": ""
} | ||
c158971 | train | // GetInboxAndUnboxLocal implements keybase.chatLocal.getInboxAndUnboxLocal protocol. | {
"resource": ""
} | ||
c158972 | train | // GetThreadLocal implements keybase.chatLocal.getThreadLocal protocol. | {
"resource": ""
} | ||
c158973 | train | // NewConversationLocal implements keybase.chatLocal.newConversationLocal protocol.
// Create a new conversation. Or in the case of CHAT, create-or-get a conversation. | {
"resource": ""
} | ||
c158974 | train | // PostLocal implements keybase.chatLocal.postLocal protocol. | {
"resource": ""
} | ||
c158975 | train | // MakePreview implements chat1.LocalInterface.MakePreview. | {
"resource": ""
} | ||
c158976 | train | // PostFileAttachmentLocal implements chat1.LocalInterface.PostFileAttachmentLocal. | {
"resource": ""
} | ||
c158977 | train | // DownloadAttachmentLocal implements chat1.LocalInterface.DownloadAttachmentLocal. | {
"resource": ""
} | ||
c158978 | train | // DownloadFileAttachmentLocal implements chat1.LocalInterface.DownloadFileAttachmentLocal. | {
"resource": ""
} | ||
c158979 | train | // remoteClient returns a client connection to gregord. | {
"resource": ""
} | ||
c158980 | train | // deleteConversationLocal contains the functionality of
// DeleteConversationLocal split off for easier testing. | {
"resource": ""
} | ||
c158981 | train | // parseControlCode is for absorbing backspaces, which
// caused junk to come out on the console, and whichever
// other control code we're probably unprepared for | {
"resource": ""
} | ||
c158982 | train | // SaveConsoleMode records the current text attributes in a global, so
// it can be restored later, in case nonstandard colors are expected. | {
"resource": ""
} | ||
c158983 | train | // checkError evaluates the results of a Windows API call and returns the error if it failed. | {
"resource": ""
} | ||
c158984 | train | // NewKBPKIClient returns a new KBPKIClient with the given service. | {
"resource": ""
} | ||
c158985 | train | // GetCurrentSession implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c158986 | train | // Identify implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c158987 | train | // NormalizeSocialAssertion implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c158988 | train | // ResolveImplicitTeam implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c158989 | train | // ResolveImplicitTeamByID implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c158990 | train | // ResolveTeamTLFID implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c158991 | train | // GetNormalizedUsername implements the KBPKI interface for
// KBPKIClient. | {
"resource": ""
} | ||
c158992 | train | // HasVerifyingKey implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c158993 | train | // GetCryptPublicKeys implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c158994 | train | // GetTeamTLFCryptKeys implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c158995 | train | // GetCurrentMerkleRoot implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c158996 | train | // VerifyMerkleRoot implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c158997 | train | // IsTeamWriter implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c158998 | train | // NoLongerTeamWriter implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c158999 | train | // IsTeamReader implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.