Class: Repository::Filesystem
Constant Summary
Constants inherited
from Repository
IDENTIFIER_MAX_LENGTH
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Repository
#<=>, available_scm, #branches, #cat, #committer_ids=, #committers, #default_branch, #diff, #diff_format_revisions, #entries, #entry, #extra_info, factory, fetch_changesets, find_by_identifier_param, #find_changeset_by_name, #find_committer_user, #identifier=, #identifier_frozen?, #identifier_param, #latest_changeset, #latest_changesets, #merge_extra_info, #name, #password, #password=, #properties, #relative_path, #repo_create_validation, #repo_log_encoding, #report_last_commit, repository_class, #root_url=, #same_commits_in_scope, #scan_changesets_for_issue_ids, scan_changesets_for_issue_ids, #scm, #scm_adapter, scm_available, scm_command, #scm_name, scm_version_string, #set_as_default?, #stats_by_author, #supports_annotate?, #supports_cat?, #supports_directory_revisions?, #supports_revision_graph?, #tags, #url=
#delete_unsafe_attributes, included, #safe_attribute?, #safe_attribute_names, #safe_attributes=
cipher_key, decrypt_text, encrypt_text, included, logger
Class Method Details
.human_attribute_name(attribute_key_name, *args) ⇒ Object
27
28
29
30
31
32
33
|
# File 'app/models/repository/filesystem.rb', line 27
def self.human_attribute_name(attribute_key_name, *args)
attr_name = attribute_key_name.to_s
if attr_name == "url"
attr_name = "root_directory"
end
super(attr_name, *args)
end
|
.scm_adapter_class ⇒ Object
35
36
37
|
# File 'app/models/repository/filesystem.rb', line 35
def self.scm_adapter_class
Redmine::Scm::Adapters::FilesystemAdapter
end
|
.scm_name ⇒ Object
39
40
41
|
# File 'app/models/repository/filesystem.rb', line 39
def self.scm_name
'Filesystem'
end
|
Instance Method Details
#fetch_changesets ⇒ Object
47
48
49
|
# File 'app/models/repository/filesystem.rb', line 47
def fetch_changesets
nil
end
|
#supports_all_revisions? ⇒ Boolean
43
44
45
|
# File 'app/models/repository/filesystem.rb', line 43
def supports_all_revisions?
false
end
|