Difference between revisions of "C 0000016 mmmv folder structure for ID labeled artifacts t2"

From commentsarchive
Jump to: navigation, search
m
m
Line 15: Line 15:
  
  
= Implementation Comments =
+
= Implementation Notes =
  
 
The artifact name and its records folder name related parsing can be avoided by looking, which of them is a file and which of them is a folder. They can be distinguished from each other also by using the fact that the artifact file name is specification wise guaranteed to be shorter than the artifact record folder name. If the artifacts were folders, then the parsing might be avoided by using 2 [[C_0000013 mmmv_folder_structure_for_ID_labeled_artifacts_t1|mmmv_folder_structure_for_ID_labeled_artifacts_t1]] instances: one for artifacts and another one for artifact record folders.
 
The artifact name and its records folder name related parsing can be avoided by looking, which of them is a file and which of them is a folder. They can be distinguished from each other also by using the fact that the artifact file name is specification wise guaranteed to be shorter than the artifact record folder name. If the artifacts were folders, then the parsing might be avoided by using 2 [[C_0000013 mmmv_folder_structure_for_ID_labeled_artifacts_t1|mmmv_folder_structure_for_ID_labeled_artifacts_t1]] instances: one for artifacts and another one for artifact record folders.

Revision as of 13:57, 14 April 2021


It's the same as the mmmv_folder_structure_for_ID_labeled_artifacts_t1, except that the artifacts are always files and the folders that contain an artifact also contain a folder that is named

    <artifact file name>_artifact_record

The format of the contents of the artifact record folder is intentionally left unspecified by this specification.


Implementation Notes

The artifact name and its records folder name related parsing can be avoided by looking, which of them is a file and which of them is a folder. They can be distinguished from each other also by using the fact that the artifact file name is specification wise guaranteed to be shorter than the artifact record folder name. If the artifacts were folders, then the parsing might be avoided by using 2 mmmv_folder_structure_for_ID_labeled_artifacts_t1 instances: one for artifacts and another one for artifact record folders.