MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / getLicense

Function getLicense

tools/create_class.rb:82–85  ·  view source on GitHub ↗
(openms_path)

Source from the content-addressed store, hash-verified

80end
81
82def getLicense(openms_path)
83 license = File.read("#{openms_path}/LICENSE")
84 return license.gsub(/^/, "// ").chop()
85end
86
87def create_header_sources(openms_path, lib_name, path)
88 # create directory

Callers 1

create_sourcesFunction · 0.85

Calls 2

chopMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected