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=, #valid_name?
#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
28
29
30
31
32
33
34
|
# File 'app/models/repository/filesystem.rb', line 28
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
.scm_name ⇒ Object
40
41
42
|
# File 'app/models/repository/filesystem.rb', line 40
def self.scm_name
'Filesystem'
end
|
Instance Method Details
#fetch_changesets ⇒ Object
48
49
50
|
# File 'app/models/repository/filesystem.rb', line 48
def fetch_changesets
nil
end
|
#supports_history? ⇒ Boolean
44
45
46
|
# File 'app/models/repository/filesystem.rb', line 44
def supports_history?
false
end
|