MCPcopy Create free account
hub / github.com/TencentARC/InstantMesh / get_file_list

Method get_file_list

train.py:117–130  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

115 self.savedir = savedir
116
117 def get_file_list(self):
118 return [
119 b.decode()
120 for b in set(
121 subprocess.check_output(
122 'git ls-files -- ":!:configs/*"', shell=True
123 ).splitlines()
124 )
125 | set( # hard code, TODO: use config to exclude folders or files
126 subprocess.check_output(
127 "git ls-files --others --exclude-standard", shell=True
128 ).splitlines()
129 )
130 ]
131
132 @rank_zero_only
133 def save_code_snapshot(self):

Callers 1

save_code_snapshotMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected