/dports/devel/hs-git-annex/git-annex-8.20210903/Git/ |
H A D | Hook.hs | 28 hookFile :: Hook -> Repo -> FilePath 44 hookWrite :: Hook -> Repo -> IO Bool 63 hookUnWrite :: Hook -> Repo -> IO Bool 77 expectedContent :: Hook -> Repo -> IO ExpectedContent 86 hookExists :: Hook -> Repo -> IO Bool 96 runHook :: Hook -> Repo -> IO Bool
|
H A D | Repair.hs | 76 explodePacks :: Repo -> IO Bool 179 copyObjects :: Repo -> Repo -> IO Bool 249 getAllRefs :: Repo -> IO [Ref] 258 explodePackedRefsFile :: Repo -> IO () 276 packedRefsFile :: Repo -> FilePath 288 nukeBranchRef :: Branch -> Repo -> IO () 380 checkIndex :: Repo -> IO Bool 391 checkIndexFast :: Repo -> IO Bool 396 missingIndex :: Repo -> IO Bool 410 rewriteIndex :: Repo -> IO [FilePath] [all …]
|
H A D | UpdateIndex.hs | 47 streamUpdateIndex :: Repo -> [Streamer] -> IO () 58 withUpdateIndex :: (MonadIO m, MonadMask m) => Repo -> (UpdateIndexHandle -> m a) -> m a 77 lsTree :: Ref -> Repo -> Streamer 84 lsSubTree :: Ref -> FilePath -> Repo -> Streamer 102 stageFile :: Sha -> TreeItemType -> FilePath -> Repo -> IO Streamer 108 unstageFile :: FilePath -> Repo -> IO Streamer 121 stageSymlink :: RawFilePath -> Sha -> Repo -> IO Streamer 139 refreshIndex :: Repo -> ((RawFilePath -> IO ()) -> IO ()) -> IO Bool
|
/dports/devel/gitlab-shell/gitlab-shell-65b8ec55bebd0aea64ac52b9878bafcc2ad992d3/vendor/gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo/ |
H A D | refs.go | 19 func (repo *Repo) HasRevision(ctx context.Context, revision git.Revision) (bool, error) { 34 func (repo *Repo) ResolveRevision(ctx context.Context, revision git.Revision) (git.ObjectID, error)… 66 func (repo *Repo) GetReference(ctx context.Context, reference git.ReferenceName) (git.Reference, er… 84 func (repo *Repo) HasBranches(ctx context.Context) (bool, error) { 91 func (repo *Repo) GetReferences(ctx context.Context, patterns ...string) ([]git.Reference, error) { 95 func (repo *Repo) getReferences(ctx context.Context, limit uint, patterns ...string) ([]git.Referen… 137 func (repo *Repo) GetBranches(ctx context.Context) ([]git.Reference, error) { 145 func (repo *Repo) UpdateRef(ctx context.Context, reference git.ReferenceName, newValue, oldValue gi… 165 func (repo *Repo) GetRemoteReferences(ctx context.Context, remote string, patterns ...string) ([]gi…
|
/dports/misc/libsolv/libsolv-0.7.19/ext/ |
H A D | repo_haiku.h | 17 int repo_add_haiku_installed_packages(Repo *repo, const char *rootdir, 19 Id repo_add_haiku_package(Repo *repo, const char *hpkgPath, int flags); 20 int repo_add_haiku_packages(Repo *repo, const char *repoName, int flags); 28 Id repo_add_haiku_package_info(Repo *repo,
|
/dports/www/gitea/gitea-1.16.5/routers/api/v1/repo/ |
H A D | issue_comment.go | 66 issue, err := models.GetIssueByIndex(ctx.Repo.Repository.ID, ctx.ParamsInt64(":index")) 71 issue.Repo = ctx.Repo.Repository 158 issue, err := models.GetIssueByIndex(ctx.Repo.Repository.ID, ctx.ParamsInt64(":index")) 163 issue.Repo = ctx.Repo.Repository 264 RepoID: ctx.Repo.Repository.ID, 344 issue, err := models.GetIssueByIndex(ctx.Repo.Repository.ID, ctx.ParamsInt64(":index")) 350 if issue.IsLocked && !ctx.Repo.CanWriteIssuesOrPulls(issue.IsPull) && !ctx.User.IsAdmin { 355 …comment, err := comment_service.CreateIssueComment(ctx.User, ctx.Repo.Repository, issue, form.Body… 414 if comment.Issue.RepoID != ctx.Repo.Repository.ID { 537 if !ctx.IsSigned || (ctx.User.ID != comment.PosterID && !ctx.Repo.IsAdmin()) { [all …]
|
H A D | issue.go | 395 labelIDs, err = models.GetLabelIDsInRepoByNames(ctx.Repo.Repository.ID, splitted) 420 mile, err = models.GetMilestoneByRepoID(ctx.Repo.Repository.ID, id) 463 RepoIDs: []int64{ctx.Repo.Repository.ID}, 592 if form.Deadline != nil && ctx.Repo.CanWrite(unit.TypeIssues) { 597 RepoID: ctx.Repo.Repository.ID, 598 Repo: ctx.Repo.Repository, 609 if ctx.Repo.CanWrite(unit.TypeIssues) { 629 valid, err := models.CanBeAssigned(assignee, ctx.Repo.Repository, false) 723 issue.Repo = ctx.Repo.Repository 724 canWrite := ctx.Repo.CanWriteIssuesOrPulls(issue.IsPull) [all …]
|
H A D | commits.go | 65 gitRepo, err := git.OpenRepository(ctx.Repo.Repository.RepoPath()) 81 json, err := convert.ToCommit(ctx.Repo.Repository, commit, nil) 131 if ctx.Repo.Repository.IsEmpty { 139 gitRepo, err := git.OpenRepository(ctx.Repo.Repository.RepoPath()) 202 sha = ctx.Repo.Repository.DefaultBranch 228 apiCommits[i], err = convert.ToCommit(ctx.Repo.Repository, commit, userCache) 283 repoPath := repo_model.RepoPath(ctx.Repo.Owner.Name, ctx.Repo.Repository.Name)
|
/dports/www/gitea/gitea-1.16.5/services/webhook/ |
H A D | slack.go | 105 repoLink := SlackLinkFormatter(p.Repo.HTMLURL, p.Repo.FullName) 106 refLink := SlackLinkToRef(p.Repo.HTMLURL, p.Ref) 115 repoLink := SlackLinkFormatter(p.Repo.HTMLURL, p.Repo.FullName) 124 forkLink := SlackLinkFormatter(p.Repo.HTMLURL, p.Repo.FullName) 187 repoLink := SlackLinkFormatter(p.Repo.HTMLURL, p.Repo.FullName) 188 branchLink := SlackLinkToRef(p.Repo.HTMLURL, p.Ref) 203 Title: p.Repo.HTMLURL, 204 TitleLink: p.Repo.HTMLURL,
|
H A D | dingtalk.go | 43 title := fmt.Sprintf("[%s] %s %s created", p.Repo.FullName, p.RefType, refName) 45 …return createDingtalkPayload(title, title, fmt.Sprintf("view ref %s", refName), p.Repo.HTMLURL+"/s… 52 title := fmt.Sprintf("[%s] %s %s deleted", p.Repo.FullName, p.RefType, refName) 54 …return createDingtalkPayload(title, title, fmt.Sprintf("view ref %s", refName), p.Repo.HTMLURL+"/s… 59 title := fmt.Sprintf("%s is forked to %s", p.Forkee.FullName, p.Repo.FullName) 61 …ngtalkPayload(title, title, fmt.Sprintf("view forked repo %s", p.Repo.FullName), p.Repo.HTMLURL), … 82 titleLink = p.Repo.HTMLURL + "/src/" + util.PathEscapeSegments(branchName) 85 title := fmt.Sprintf("[%s:%s] %s", p.Repo.FullName, branchName, commitDesc)
|
/dports/databases/elixir-ecto/ecto-2.2.10/lib/ |
H A D | ecto.ex | 40 defmodule Repo do module 47 config :my_app, Repo, 70 supervisor(Repo, []) 222 Repo.all(query) 233 Repo.all(query) 263 provide `Repo.one/1` which returns one entry or nil, `Repo.one!/1` 319 posts = Repo.all(Post) |> Repo.preload(:comments) 332 Repo.all(query) 337 Repo.transaction fn -> 343 Repo.insert!(comment) [all …]
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo/ |
H A D | refs.go | 19 func (repo *Repo) HasRevision(ctx context.Context, revision git.Revision) (bool, error) { 34 func (repo *Repo) ResolveRevision(ctx context.Context, revision git.Revision) (git.ObjectID, error)… 66 func (repo *Repo) GetReference(ctx context.Context, reference git.ReferenceName) (git.Reference, er… 84 func (repo *Repo) HasBranches(ctx context.Context) (bool, error) { 91 func (repo *Repo) GetReferences(ctx context.Context, patterns ...string) ([]git.Reference, error) { 95 func (repo *Repo) getReferences(ctx context.Context, limit uint, patterns ...string) ([]git.Referen… 137 func (repo *Repo) GetBranches(ctx context.Context) ([]git.Reference, error) { 145 func (repo *Repo) UpdateRef(ctx context.Context, reference git.ReferenceName, newValue, oldValue gi… 196 func (repo *Repo) GetRemoteReferences(ctx context.Context, remote string, opts ...GetRemoteReferenc… 271 func (repo *Repo) GetDefaultBranch(ctx context.Context) (git.ReferenceName, error) { [all …]
|
/dports/textproc/gitlab-elasticsearch-indexer/gitlab-elasticsearch-indexer-ef1440548effec15831eda2d246dacc43233cefb/vendor/gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo/ |
H A D | refs.go | 19 func (repo *Repo) HasRevision(ctx context.Context, revision git.Revision) (bool, error) { 34 func (repo *Repo) ResolveRevision(ctx context.Context, revision git.Revision) (git.ObjectID, error)… 66 func (repo *Repo) GetReference(ctx context.Context, reference git.ReferenceName) (git.Reference, er… 84 func (repo *Repo) HasBranches(ctx context.Context) (bool, error) { 91 func (repo *Repo) GetReferences(ctx context.Context, patterns ...string) ([]git.Reference, error) { 95 func (repo *Repo) getReferences(ctx context.Context, limit uint, patterns ...string) ([]git.Referen… 137 func (repo *Repo) GetBranches(ctx context.Context) ([]git.Reference, error) { 145 func (repo *Repo) UpdateRef(ctx context.Context, reference git.ReferenceName, newValue, oldValue gi… 196 func (repo *Repo) GetRemoteReferences(ctx context.Context, remote string, opts ...GetRemoteReferenc… 271 func (repo *Repo) GetDefaultBranch(ctx context.Context) (git.ReferenceName, error) { [all …]
|
/dports/deskutils/dstask/dstask-0.24.1/ |
H A D | config.go | 12 Repo string member 27 conf.Repo = getEnv("DSTASK_GIT_REPO", os.ExpandEnv("$HOME/.dstask")) 28 conf.StateFile = path.Join(conf.Repo, ".git", "dstask", "state.bin") 29 conf.IDsFile = path.Join(conf.Repo, ".git", "dstask", "ids.bin")
|
/dports/devel/gitlab-shell/gitlab-shell-65b8ec55bebd0aea64ac52b9878bafcc2ad992d3/vendor/gitlab.com/gitlab-org/gitaly/v14/internal/git/remoterepo/ |
H A D | repository.go | 15 type Repo struct { struct 21 func New(ctx context.Context, repo *gitalypb.Repository, pool *client.Pool) (*Repo, error) { 32 return &Repo{ 40 func (rr *Repo) ResolveRevision(ctx context.Context, revision git.Revision) (git.ObjectID, error) { argument 64 func (rr *Repo) HasBranches(ctx context.Context) (bool, error) { argument
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook/ |
H A D | custom.go | 133 repoPath, err := m.locator.GetPath(payload.Repo) 141 if objectDirectory == "" && payload.Repo.GetGitObjectDirectory() != "" { 142 objectDirectory = filepath.Join(repoPath, payload.Repo.GetGitObjectDirectory()) 149 if alternateObjectDirectories == "" && len(payload.Repo.GetGitAlternateObjectDirectories()) != 0 { 151 for _, alternateObjectDirectory := range payload.Repo.GetGitAlternateObjectDirectories() { 162 "GL_REPOSITORY="+payload.Repo.GetGlRepository(), 163 "GL_PROJECT_PATH="+payload.Repo.GetGlProjectPath(),
|
/dports/www/gitea/gitea-1.16.5/services/task/ |
H A D | migrate.go | 53 notification.NotifyMigrateRepository(t.Doer, t.Owner, t.Repo) 71 if t.Repo != nil { 72 if errDelete := models.DeleteRepository(t.Doer, t.OwnerID, t.Repo.ID); errDelete != nil { 83 if t.Repo.Status == repo_model.RepositoryReady { 112 …t.Repo, err = migrations.MigrateRepository(ctx, t.Doer, t.Owner.Name, *opts, func(format string, a… 122 log.Trace("Repository migrated [%d]: %s/%s", t.Repo.ID, t.Owner.Name, t.Repo.Name)
|
/dports/www/elixir-phoenix/phoenix-1.3.3/priv/templates/phoenix.gen.json/ |
H A D | controller_test.exs | 18 <%= singular %> = Repo.insert! %<%= alias %>{} 33 assert Repo.get_by(<%= alias %>, @valid_attrs) 42 <%= singular %> = Repo.insert! %<%= alias %>{} 45 assert Repo.get_by(<%= alias %>, @valid_attrs) 49 <%= singular %> = Repo.insert! %<%= alias %>{} 55 <%= singular %> = Repo.insert! %<%= alias %>{} 58 refute Repo.get(<%= alias %>, <%= singular %>.id)
|
/dports/textproc/gitlab-elasticsearch-indexer/gitlab-elasticsearch-indexer-ef1440548effec15831eda2d246dacc43233cefb/vendor/gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook/ |
H A D | custom.go | 133 repoPath, err := m.locator.GetPath(payload.Repo) 141 if objectDirectory == "" && payload.Repo.GetGitObjectDirectory() != "" { 142 objectDirectory = filepath.Join(repoPath, payload.Repo.GetGitObjectDirectory()) 149 if alternateObjectDirectories == "" && len(payload.Repo.GetGitAlternateObjectDirectories()) != 0 { 151 for _, alternateObjectDirectory := range payload.Repo.GetGitAlternateObjectDirectories() { 162 "GL_REPOSITORY="+payload.Repo.GetGlRepository(), 163 "GL_PROJECT_PATH="+payload.Repo.GetGlProjectPath(),
|
/dports/databases/elixir-ecto/ecto-2.2.10/lib/ecto/adapter/ |
H A D | transaction.ex | 13 See `Ecto.Repo.transaction/1`. 15 …@callback transaction(repo :: Ecto.Repo.t, options :: Keyword.t, function :: fun) :: {:ok, any} | … 20 @callback in_transaction?(repo :: Ecto.Repo.t) :: boolean 27 See `Ecto.Repo.rollback/1`. 29 @callback rollback(repo :: Ecto.Repo.t, value :: any) :: no_return
|
/dports/devel/hub/hub-2.14.2/commands/ |
H A D | checkout.go | 82 baseRemote, err := repo.RemoteForRepo(pullRequest.Base.Repo) 90 } else if pullRequest.Head.Repo != nil { 91 headRemote, _ = repo.RemoteForRepo(pullRequest.Head.Repo) 112 if pullRequest.Head.Repo != nil && newBranchName == pullRequest.Head.Repo.DefaultBranch { 113 newBranchName = fmt.Sprintf("%s-%s", pullRequest.Head.Repo.Owner.Login, newBranchName) 131 if pullRequest.MaintainerCanModify && pullRequest.Head.Repo != nil { 133 project, err = github.NewProjectFromRepo(pullRequest.Head.Repo)
|
/dports/net/evans/evans-0.9.1/vendor/github.com/ktr0731/dept/cmd/ |
H A D | get.go | 180 logger.Printf("updating %s to the latest version", path.Repo) 181 if err := c.gocmd.Get(ctx, "-u", "-d", path.Repo); err != nil { 190 binPath = filepath.Join(outputDir, filepath.Base(path.Repo)) 192 logger.Printf("building %s to %s", path.Repo, binPath) 248 path := &path{Val: p, Repo: repo, Ver: ver, Out: out} 251 path.ModRoot, err = getModuleRoot(ctx, c.gocmd, path.Repo) 289 if toolNameConflicted(importPath, path.Repo) { 294 if importPath == path.Repo && path.Out != "" { 305 importPaths = append(importPaths, path.Repo) 358 toolPath := strings.TrimPrefix(path.Repo, path.ModRoot) [all …]
|
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/windows/ |
H A D | win_psrepository.ps1 | 38 $Repo = Get-PSRepository -Name $name -ErrorAction SilentlyContinue variable 40 if ($null -eq $Repo) { 53 if ($Repo.SourceLocation -ne $source) { 57 if ($null -ne $installationpolicy -and $Repo.InstallationPolicy -ne $installationpolicy) { 70 elseif ($state -eq "absent" -and $null -ne $Repo) {
|
/dports/devel/elixir-hex/hex-1.0.1/lib/hex/ |
H A D | config.ex | 108 hexpm = Hex.Repo.default_hexpm_repo(repos_key) 111 |> Hex.Repo.merge_hexpm(hexpm) 112 |> Hex.Repo.update_organizations() 118 |> Hex.Repo.clean_organizations() 119 |> Hex.Repo.clean_hexpm() 123 |> Hex.Repo.merge_hexpm() 124 |> Hex.Repo.update_organizations()
|
/dports/sysutils/libdnf/libdnf-0.64.0/libdnf/transaction/private/ |
H A D | Repo.hpp | 33 class Repo; 34 typedef std::shared_ptr< Repo > RepoPtr; 36 class Repo { class 41 Repo(SQLite3Ptr conn);
|