_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c11600 | // ReportRequest creates a request object for making a report | |
c11601 | // CheckInterval is used to check for a response on a given interval duration.
// The interval is not exact, and checks are randomized to prevent a thundering
// herd. However, it is expected that on average one check is performed per
// interval. The returned channel may be closed to stop background checks. | |
c11602 | // Versions returns the version constrains for a given service and product. | |
c11603 | // Return a new Constrain and sets operator and version to compare | |
c11604 | // Match a given version againts the constraint | |
c11605 | // Return a string representation | |
c11606 | // Adds a Contraint to the group | |
c11607 | // NewWithConfig returns a Grok object that is configured to behave according
// to the supplied Config structure. | |
c11608 | // AddPattern adds a new pattern to the list of loaded patterns. | |
c11609 | // AddPattern adds a named pattern to grok | |
c11610 | // AddPatternsFromMap loads a map of named patterns | |
c11611 | // AddPatternsFromMap adds new patterns from the specified map to the list of
// loaded patterns. | |
c11612 | // AddPatternsFromPath adds new patterns from the files in the specified
// directory to the list of loaded patterns. | |
c11613 | // Match returns true if the specified text matches the pattern. | |
c11614 | // compiledParse parses the specified text and returns a map with the results. | |
c11615 | // Parse the specified text and return a map with the results. | |
c11616 | // ParseToMultiMap parses the specified text and returns a map with the
// results. Values are stored in an string slice, so values from captures with
// the same name don't get overridden. | |
c11617 | // ParseStream will match the given pattern on a line by line basis from the reader
// and apply the results to the process function | |
c11618 | // Bytes produces a raw binary format of the CID. | |
c11619 | // Has returns if the Set contains a given Cid. | |
c11620 | // Keys returns the Cids in the set. | |
c11621 | // Visit adds a Cid to the set only if it is
// not in it already. | |
c11622 | // ForEach allows to run a custom function on each
// Cid in the set. | |
c11623 | // NewCidV0 returns a Cid-wrapped multihash.
// They exist to allow IPFS to work with Cids while keeping
// compatibility with the plain-multihash format used used in IPFS.
// NewCidV1 should be used preferentially. | |
c11624 | // NewCidV1 returns a new Cid using the given multicodec-packed
// content type. | |
c11625 | // Extract the encoding from a Cid. If Decode on the same string did
// not return an error neither will this function. | |
c11626 | // Version returns the Cid version. | |
c11627 | // Type returns the multicodec-packed content type of a Cid. | |
c11628 | // String returns the string representation of a Cid
// encoded is selected base | |
c11629 | // Encode return the string representation of a Cid in a given base
// when applicable. Version 0 Cid's are always in Base58 as they do
// not take a multibase prefix. | |
c11630 | // Hash returns the multihash contained by a Cid. | |
c11631 | // UnmarshalJSON parses the JSON representation of a Cid. | |
c11632 | // PrefixFromBytes parses a Prefix-byte representation onto a
// Prefix. | |
c11633 | //Tag generates the pagination html Tag | |
c11634 | //Pagination builds pagination Tag based on a passed pagintation interface | |
c11635 | //SetAuthenticityToken allows tags to work smoothly with Buffalo, it receives the auth token and creates an input hidden with it. | |
c11636 | //Label permits to create a label inside a Form | |
c11637 | //New creates a new form from passed options, it sets defaults for method and also handles other methods as PUT by adding _method hidden input. | |
c11638 | //CheckboxTag builds a checkbox from the options passed | |
c11639 | //RadioButton creates a radio button for a form with the passed options | |
c11640 | //RadioButtonTag creates a radio button for a form with the passed options | |
c11641 | //CheckboxTag builds a bootstrap checkbox with passed options | |
c11642 | //TextArea builds a bootstrap textarea with passed options | |
c11643 | //HiddenTag adds a hidden input to the form | |
c11644 | //TextAreaTag creates a textarea for a form with passed options | |
c11645 | //InputTag generates an input tag with passed options, by default will be type=text. | |
c11646 | //HiddenTag generates and input tag with type hidden | |
c11647 | // NewFormFor creates a new Formfor with passed options, it also creates the id of the form from the struct name and adds errors if present. | |
c11648 | // InputTag creates an input for a field on the form Struct | |
c11649 | // HiddenTag adds a wrappter for input type hidden on the form | |
c11650 | // RadioButton creates a radio button for a struct field | |
c11651 | // TextArea creates text area for the specified struct field | |
c11652 | // SubmitTag adds a submit button to the form | |
c11653 | // New creates a new Tag with given name and options. | |
c11654 | //CheckboxTag adds a checkbox to a form wrapped with a form-control and a label | |
c11655 | //NewFormFor builds a form for a passed model | |
c11656 | //JavascriptTag builds JS tags based in passed options | |
c11657 | // GetMergeBase checks and returns merge base of two branches. | |
c11658 | // GetPullRequestInfo generates and returns pull request information
// between base and head branches of repositories. | |
c11659 | // GetPatch generates and returns patch data between given revisions. | |
c11660 | // IsValidHookName returns true if given name is a valid Git hook. | |
c11661 | // GetHook returns a Git hook by given name and repository. | |
c11662 | // Update updates content hook file. | |
c11663 | // ListHooks returns a list of Git hooks of given repository. | |
c11664 | // RefURL guesses and returns reference URL. | |
c11665 | // Version returns current Git version from shell. | |
c11666 | // Fsck verifies the connectivity and validity of the objects in the database | |
c11667 | // Find the tree object in the repository. | |
c11668 | // AddEnvs adds new environment variables to the command. | |
c11669 | // RunInDirTimeoutPipeline executes the command in given directory with given timeout,
// it pipes stdout and stderr to given io.Writer. | |
c11670 | // RunInDirPipeline executes the command in given directory,
// it pipes stdout and stderr to given io.Writer. | |
c11671 | // IsReferenceExist returns true if given reference exists in the repository. | |
c11672 | // GetHEADBranch returns corresponding branch of HEAD. | |
c11673 | // SetDefaultBranch sets default branch of repository. | |
c11674 | // GetBranches returns all branches of the repository. | |
c11675 | // DeleteBranch deletes a branch from given repository path. | |
c11676 | // DeleteBranch deletes a branch from repository. | |
c11677 | // AddRemote adds a new remote to repository. | |
c11678 | // RemoveRemote removes a remote from repository. | |
c11679 | // Data gets content of blob all at once and wrap it as io.Reader.
// This can be very slow and memory consuming for huge content. | |
c11680 | // MustIDFromString always creates a new sha from a ID with no validation of input. | |
c11681 | // NewIDFromString creates a new sha1 from a ID string of length 40. | |
c11682 | // GetDiffRange returns a parsed diff object between given commits. | |
c11683 | // GetRawDiff dumps diff results of repository in given commit ID to io.Writer. | |
c11684 | // GetDiffCommit returns a parsed diff object of given commit. | |
c11685 | // GetCommitByPath return the commit of relative path object. | |
c11686 | // AddChanges marks local changes to be ready for commit. | |
c11687 | // CommitChanges commits local changes with given committer, author and message.
// If author is nil, it will be the same as committer. | |
c11688 | // GetCommitFileStatus returns file status of commit in given repository. | |
c11689 | // FileStatus returns file status of commit. | |
c11690 | // GetBranchCommitID returns last commit ID string of given branch. | |
c11691 | // GetTagCommitID returns last commit ID string of given tag. | |
c11692 | // GetRemoteBranchCommitID returns last commit ID string of given remote branch. | |
c11693 | // GetCommit returns commit object of by ID string. | |
c11694 | // GetBranchCommit returns the last commit of given branch. | |
c11695 | // GetTagCommit returns the commit of given tag. | |
c11696 | // GetRemoteBranchCommit returns the last commit of given remote branch. | |
c11697 | // GetCommitByPath returns the last commit of relative path. | |
c11698 | // CommitsBetween returns a list that contains commits between [last, before). | |
c11699 | // The limit is depth, not total number of returned commits. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.