@@ -79,7 +79,152 @@ function initDirectoryTree(containerId) {
7979 { type : "file" , name : "header.html" , icon : "📄" , link : basePath + "header.html" , preview : true } ,
8080 { type : "file" , name : "footer.html" , icon : "📄" , link : basePath + "footer.html" , preview : true } ,
8181 { type : "file" , name : "index.html" , icon : "📄" , link : basePath + "index.html" , preview : true } ,
82- { type : "folder" , name : "src" , icon : "📁" , children : [ ] }
82+ { type :"folder" , name :"src" , icon :"📁" ,
83+ children :[
84+
85+ { type :"folder" , name :"C-Func-pointer" ,
86+ children :[
87+ { type :"file" , name :"main.c" , link :basePath + "src/C-Func-pointer/main.c" , preview :true }
88+ ]
89+ } ,
90+
91+ { type :"folder" , name :"C-STD-File" ,
92+ children :[
93+ { type :"file" , name :"main.c" , link :basePath + "src/C-STD-File/main.c" , preview :true } ,
94+ { type :"file" , name :"file1.txt" , link :basePath + "src/C-STD-File/file1.txt" , preview :true } ,
95+ { type :"file" , name :"file2.txt" , link :basePath + "src/C-STD-File/file2.txt" , preview :true }
96+ ]
97+ } ,
98+
99+ { type :"folder" , name :"C-Unix-STD-Basic-Fork" ,
100+ children :[
101+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Basic-Fork/main.c" , preview :true }
102+ ]
103+ } ,
104+
105+ { type :"folder" , name :"C-Unix-STD-Copy-DirectoryTree" ,
106+ children :[
107+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Copy-DirectoryTree/main.c" , preview :true }
108+ ]
109+ } ,
110+
111+ { type :"folder" , name :"C-Unix-STD-Execl" ,
112+ children :[
113+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Execl/main.c" , preview :true }
114+ ]
115+ } ,
116+
117+ { type :"folder" , name :"C-Unix-STD-Execlp-System" ,
118+ children :[
119+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Execlp-System/main.c" , preview :true }
120+ ]
121+ } ,
122+
123+ { type :"folder" , name :"C-Unix-STD-Explore-File-Directories" ,
124+ children :[
125+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Explore-File-Directories/main.c" , preview :true }
126+ ]
127+ } ,
128+
129+ { type :"folder" , name :"C-Unix-STD-Fork" ,
130+ children :[
131+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Fork/main.c" , preview :true }
132+ ]
133+ } ,
134+
135+ { type :"folder" , name :"C-Unix-STD-Fork-Sleep" ,
136+ children :[
137+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Fork-Sleep/main.c" , preview :true }
138+ ]
139+ } ,
140+
141+ { type :"folder" , name :"C-Unix-STD-Fork-Wait" ,
142+ children :[
143+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Fork-Wait/main.c" , preview :true }
144+ ]
145+ } ,
146+
147+ { type :"folder" , name :"C-Unix-STD-Fork-WaitPid" ,
148+ children :[
149+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Fork-WaitPid/main.c" , preview :true }
150+ ]
151+ } ,
152+
153+ { type :"folder" , name :"C-Unix-STD-Fork-Wait-Precedence" ,
154+ children :[
155+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Fork-Wait-Precedence/main.c" , preview :true }
156+ ]
157+ } ,
158+
159+ { type :"folder" , name :"C-Unix-STD-Kill" ,
160+ children :[
161+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Kill/main.c" , preview :true }
162+ ]
163+ } ,
164+
165+ { type :"folder" , name :"C-Unix-STD-Signal" ,
166+ children :[
167+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Signal/main.c" , preview :true }
168+ ]
169+ } ,
170+
171+ { type :"folder" , name :"C-Unix-STD-Signal-Fork" ,
172+ children :[
173+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Signal-Fork/main.c" , preview :true }
174+ ]
175+ } ,
176+
177+ { type :"folder" , name :"C-Unix-STD-Signal-Fork-Kill" ,
178+ children :[
179+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Signal-Fork-Kill/main.c" , preview :true }
180+ ]
181+ } ,
182+ { type :"folder" , name :"C-Unix-STD-Signal-Fork-Pause" ,
183+ children :[
184+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Signal-Fork-Pause/main.c" , preview :true } ,
185+ { type :"file" , name :"son1.txt" , link :basePath + "src/C-Unix-STD-Signal-Fork-Pause/son1.txt" , preview :true } ,
186+ { type :"file" , name :"son2.txt" , link :basePath + "src/C-Unix-STD-Signal-Fork-Pause/son2.txt" , preview :true }
187+ ]
188+ } ,
189+ { type :"folder" , name :"C-Unix-STD-Signal-Fork-Pause-Kill" ,
190+ children :[
191+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Signal-Fork-Pause-Kill/main.c" , preview :true }
192+ ]
193+ } ,
194+ { type :"folder" , name :"C-Unix-STD-Signal-Fork-Pause-Kill-File-Wait" ,
195+ children :[
196+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Signal-Fork-Pause-Kill-File-Wait/main.c" , preview :true } ,
197+ { type :"file" , name :"testo_1.txt" , link :basePath + "src/C-Unix-STD-Signal-Fork-Pause-Kill-File-Wait/testo_1.txt" , preview :true } ,
198+ { type :"file" , name :"testo_3.txt" , link :basePath + "src/C-Unix-STD-Signal-Fork-Pause-Kill-File-Wait/testo_3.txt" , preview :true }
199+ ]
200+ } ,
201+ { type :"folder" , name :"C-Unix-STD-Signal-Fork-Pause-Kill-Pipe" ,
202+ children :[
203+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Signal-Fork-Pause-Kill-Pipe/main.c" , preview :true } ,
204+ { type :"file" , name :"testo.txt" , link :basePath + "src/C-Unix-STD-Signal-Fork-Pause-Kill-Pipe/testo.txt" , preview :true }
205+ ]
206+ } ,
207+ { type :"folder" , name :"C-Unix-STD-Signal-Fork-Pause-Kill-Wait" ,
208+ children :[
209+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Signal-Fork-Pause-Kill-Wait/main.c" , preview :true }
210+ ]
211+ } ,
212+ { type :"folder" , name :"C-Unix-STD-Threads" ,
213+ children :[
214+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Threads/main.c" , preview :true }
215+ ]
216+ } ,
217+ { type :"folder" , name :"C-Unix-STD-Threads-Files-Assert" ,
218+ children :[
219+ { type :"file" , name :"main.c" , link :basePath + "src/C-Unix-STD-Threads-Files-Assert/main.c" , preview :true } ,
220+ { type :"file" , name :"file1in.txt" , link :basePath + "src/C-Unix-STD-Threads-Files-Assert/file1in.txt" , preview :true } ,
221+ { type :"file" , name :"file1out.txt" , link :basePath + "src/C-Unix-STD-Threads-Files-Assert/file1out.txt" , preview :true } ,
222+ { type :"file" , name :"file2in.txt" , link :basePath + "src/C-Unix-STD-Threads-Files-Assert/file2in.txt" , preview :true } ,
223+ { type :"file" , name :"file2out.txt" , link :basePath + "src/C-Unix-STD-Threads-Files-Assert/file2out.txt" , preview :true } ,
224+ { type :"file" , name :"file3in.txt" , link :basePath + "src/C-Unix-STD-Threads-Files-Assert/file3in.txt" , preview :true } ,
225+ { type :"file" , name :"file3out.txt" , link :basePath + "src/C-Unix-STD-Threads-Files-Assert/file3out.txt" , preview :true }
226+ ]
227+ } ] }
83228 ] ;
84229
85230 function createTree ( data ) {
0 commit comments