You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
class ShixunSecretRepository < ApplicationRecord
|
|
# repo_name: 仓库名
|
|
# secret_dir_name: 在tpm仓库的那个目录下
|
|
|
|
belongs_to :shixun
|
|
|
|
def repo_path
|
|
"#{repo_name}.git"
|
|
end
|
|
|
|
end
|