Sha256: dca8aac305784731efd469ddab564274d45987bc55df69909dcdf6e87aed4ae4

Contents?: true

Size: 1.52 KB

Versions: 9

Compression:

Stored size: 1.52 KB

Contents

module Datadog
  module CI
    module Ext
      module Environment
        module Providers
          class LocalGit < Base
            class GitUser
              attr_reader name: String?
              attr_reader email: String?
              attr_reader timestamp: String?

              @name: String?
              @email: String?
              @timestamp: String?

              def initialize: (String? name, String? email, String? timestamp) -> void

              def date: () -> String?
            end

            class NilUser < GitUser
              def initialize: () -> void
            end

            private

            @author: GitUser
            @committer: GitUser

            def git_repository_url: () -> String?

            def git_commit_sha: () -> String?

            def git_branch: () -> String?

            def git_tag: () -> String?

            def git_commit_message: () -> String?

            def git_commit_author_name: () -> String?

            def git_commit_author_email: () -> String?

            def git_commit_author_date: () -> String?

            def git_commit_committer_name: () -> String?

            def git_commit_committer_email: () -> String?

            def git_commit_committer_date: () -> String?

            def workspace_path: () -> String?

            def exec_git_command: (String cmd) -> String?

            def author: () -> GitUser

            def committer: () -> GitUser

            def set_git_commit_users: () -> void
          end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
datadog-ci-0.6.0 sig/datadog/ci/ext/environment/providers/local_git.rbs
datadog-ci-0.5.1 sig/datadog/ci/ext/environment/providers/local_git.rbs
datadog-ci-0.5.0 sig/datadog/ci/ext/environment/providers/local_git.rbs
datadog-ci-0.4.1 sig/datadog/ci/ext/environment/providers/local_git.rbs
datadog-ci-0.4.0 sig/datadog/ci/ext/environment/providers/local_git.rbs
datadog-ci-0.3.0 sig/datadog/ci/ext/environment/providers/local_git.rbs
datadog-ci-0.2.0 sig/datadog/ci/ext/environment/providers/local_git.rbs
datadog-ci-0.1.1 sig/datadog/ci/ext/environment/providers/local_git.rbs
datadog-ci-0.1.0 sig/datadog/ci/ext/environment/providers/local_git.rbs