CoolFace
Datasetpublic

hschumann2/TempleOS-Source-Code

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes838downloads
FileUtils.txt31 linesDownload Raw Back to Doc
1 2                                   File Utils3 4File util FilesFind() wildcard mask consists of a single base dir with multiple5file masks separated by ';'.  The '*' and '?' wildcard chars are accepted.  The6'~' is your home directory and '!' indicates an exclusion mask.7 8 9"/Kernel/*"             BaseDir: /Kernel        Mask: *10"/Demo/*.BMP*;*.GR*"    BaseDir: /Demo          Mask: *.BMP* | *.GR*11"/*.DD*;!*/Bible*"      BaseDir: Root           Mask: *.DD* but not */Bible*12 13See FilesFindMatch().14 15Flags are either text or int values.16 17  FUF_RECURSE           +r Recurse18  FUF_SINGLE            +s Single File (Optimization for one file in mask.)19  FUF_FLATTEN_TREE      +f use with '+F'.  Just use +F, probably.20  FUF_JUST_DIRS         +D just directories21  FUF_JUST_FILES        +F just files (Flattens trees)22  FUF_CLUS_ORDER        +O sort by clus (move head one direction)23  FUF_JUST_TXT          +T just text files      : FILEMASK_TXT24  FUF_JUST_DD           +$ just DolDoc files    : FILEMASK_DD25  FUF_JUST_SRC          +S just src files       : FILEMASK_SRC26  FUF_JUST_AOT          +A just aot files       : FILEMASK_AOT27  FUF_JUST_JIT          +J just jit files       : FILEMASK_JIT28  FUF_JUST_GR           +G just graphic files   : FILEMASK_GR29 30See ST_FILE_UTIL_FLAGS when used in calling program taking text flags.31