/usr/share/pyshared/seascope/backend/plugins/cscope/__init__.py is in seascope 0.8-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # Copyright (c) 2010 Anil Kumar
# All rights reserved.
#
# License: BSD
import os
def name():
return 'cscope'
def is_your_prj(path):
f = os.path.join(path, 'cscope.files')
return os.path.exists(f)
def project_class():
from CscopeProject import ProjectCscope
return ProjectCscope
def description():
d = 'Cscope supports C, lex, yacc files.\n'
d += 'Support for C++ and Java is limited.'
return d
priority = 500
|