Module: TFSGraph::Populators::Utilities
Constant Summary
StoreHelpers::UPDATED_KEY
Instance Method Summary
collapse
#flush_all, #last_updated_on, #mark_as_updated
Instance Method Details
#clean ⇒ Object
6
7
8
|
# File 'lib/tfs_graph/populators/utilities.rb', line 6
def clean
flush_all
end
|
#finalize ⇒ Object
10
11
12
|
# File 'lib/tfs_graph/populators/utilities.rb', line 10
def finalize
mark_as_updated
end
|
#find_branch(path) ⇒ Object
18
19
20
|
# File 'lib/tfs_graph/populators/utilities.rb', line 18
def find_branch(path)
TFSGraph::RepositoryRegistry.branch_repository.find_by_path path
end
|
#find_project(name) ⇒ Object
14
15
16
|
# File 'lib/tfs_graph/populators/utilities.rb', line 14
def find_project(name)
TFSGraph::RepositoryRegistry.project_repository.find_by_name name
end
|