File tree Expand file tree Collapse file tree 9 files changed +28
-116
lines changed
S_get_entity_last_modification_in_unix
S_get_entity_last_modification
hash/S_file_hashing_by_last_modification
resources/S_multi_process/side_effect Expand file tree Collapse file tree 9 files changed +28
-116
lines changed Original file line number Diff line number Diff line change @@ -10482,7 +10482,6 @@ DtwSchema * DtwResource_newSchema(DtwResource *self){
1048210482 if (DtwResource_error (self )){
1048310483 return NULL ;
1048410484 }
10485-
1048610485 privateDtwResource_ensure_its_possible_to_sub_resource (self );
1048710486
1048810487 if (DtwResource_error (self )){
@@ -10779,6 +10778,8 @@ DtwResourceArray * DtwResource_get_schema_values(DtwResource *self){
1077910778 if (DtwResource_error (self )){
1078010779 return NULL ;
1078110780 }
10781+ self -> root_props -> is_writing_schema = true;
10782+
1078210783 if (self -> schema_type != PRIVATE_DTW_SCHEMA_ROOT ){
1078310784 private_DtwResource_raise_error (
1078410785 self ,
@@ -10788,10 +10789,12 @@ DtwResourceArray * DtwResource_get_schema_values(DtwResource *self){
1078810789 return NULL ;
1078910790 }
1079010791
10791- return DtwResource_sub_resources (self -> values_resource );
10792-
10792+ DtwResourceArray * elements = DtwResource_sub_resources (self -> values_resource );
10793+ self -> root_props -> is_writing_schema = false;
10794+ return elements ;
1079310795}
1079410796
10797+
1079510798DtwResourceArray * DtwResource_sub_resources (DtwResource * self ){
1079610799
1079710800
Original file line number Diff line number Diff line change @@ -218,7 +218,6 @@ DtwSchema * DtwResource_newSchema(DtwResource *self){
218218 if (DtwResource_error (self )){
219219 return NULL ;
220220 }
221-
222221 privateDtwResource_ensure_its_possible_to_sub_resource (self );
223222
224223 if (DtwResource_error (self )){
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ DtwResourceArray * DtwResource_get_schema_values(DtwResource *self){
3030 if (DtwResource_error (self )){
3131 return NULL ;
3232 }
33+ self -> root_props -> is_writing_schema = true;
34+
3335 if (self -> schema_type != PRIVATE_DTW_SCHEMA_ROOT ){
3436 private_DtwResource_raise_error (
3537 self ,
@@ -39,10 +41,12 @@ DtwResourceArray * DtwResource_get_schema_values(DtwResource *self){
3941 return NULL ;
4042 }
4143
42- return DtwResource_sub_resources (self -> values_resource );
43-
44+ DtwResourceArray * elements = DtwResource_sub_resources (self -> values_resource );
45+ self -> root_props -> is_writing_schema = false;
46+ return elements ;
4447}
4548
49+
4650DtwResourceArray * DtwResource_sub_resources (DtwResource * self ){
4751
4852
Original file line number Diff line number Diff line change @@ -10482,7 +10482,6 @@ DtwSchema * DtwResource_newSchema(DtwResource *self){
1048210482 if (DtwResource_error (self )){
1048310483 return NULL ;
1048410484 }
10485-
1048610485 privateDtwResource_ensure_its_possible_to_sub_resource (self );
1048710486
1048810487 if (DtwResource_error (self )){
@@ -10779,6 +10778,8 @@ DtwResourceArray * DtwResource_get_schema_values(DtwResource *self){
1077910778 if (DtwResource_error (self )){
1078010779 return NULL ;
1078110780 }
10781+ self -> root_props -> is_writing_schema = true;
10782+
1078210783 if (self -> schema_type != PRIVATE_DTW_SCHEMA_ROOT ){
1078310784 private_DtwResource_raise_error (
1078410785 self ,
@@ -10788,10 +10789,12 @@ DtwResourceArray * DtwResource_get_schema_values(DtwResource *self){
1078810789 return NULL ;
1078910790 }
1079010791
10791- return DtwResource_sub_resources (self -> values_resource );
10792-
10792+ DtwResourceArray * elements = DtwResource_sub_resources (self -> values_resource );
10793+ self -> root_props -> is_writing_schema = false;
10794+ return elements ;
1079310795}
1079410796
10797+
1079510798DtwResourceArray * DtwResource_sub_resources (DtwResource * self ){
1079610799
1079710800
Original file line number Diff line number Diff line change 11
2- Last modification: 2024-05-12 13:13:12
2+ Last modification: 2024-05-27 23:39:15
Original file line number Diff line number Diff line change 11
2- Last modification: 1715530392
2+ Last modification: 1716863955
Original file line number Diff line number Diff line change 11
2- after a file :87153694afc1c9f4ed4923965bfefef514baa3ec6fa2557188225fb1c715b42f
3- after a folder 1bdd6793a5fb3f981e97b23949931b54ddebb58ca6dfeb772f6fa303208af7c6
2+ after a file :5459d7b36b8f550e605ff22f2cba250dbb0ecc68da47d60dcafd1ec7c7930702
3+ after a folder 673d258e6ad0c99b369fff78ee041ccb198c7907acd57fcdb94cb7133e51be14
Original file line number Diff line number Diff line change 1- 1
2- 7
3- 4
410
5- 9
2+ 2
635
7- 8
4+ 1
5+ 4
863
976
10- 2
8+ 7
9+ 9
10+ 8
You can’t perform that action at this time.
0 commit comments