|
static OP_OTLUtils * | getInstance () |
|
static bool | getContentsSection (FS_IndexFile &indexFile, UT_WorkBuffer &data) |
|
static UT_UniquePtr< UT_IStream > | getContentsStream (FS_IndexFile &deffile, exint *uncompressed_buflen=nullptr) |
|
static UT_UniquePtr< UT_IStream > | getContentsStream (UT_IStream &is, exint nbytes, const UT_StringHolder &file_name, exint *uncompressed_buflen=nullptr) |
|
static bool | saveContentsSection (FS_IndexFile &indexFile, const UT_WorkBuffer &contents_cpio) |
|
static bool | processContentsSection (FS_IndexFile &indexFile, const UT_String §ion_name) |
|
static bool | expandToDirectory (OP_OTLLibrary *library, const char *destdir, bool vcsfriendly=false) |
|
static bool | collapseLibrary (const char *libfile, const char *srcdir, bool createbackup=true) |
|
static void | findAllSections (const char *srcdir, const char *filename, UT_StringArray &allfiles, bool append=false) |
|
static void | findAllMimeSections (const char *srcdir, UT_StringArray &allfiles, bool append=false) |
|
static bool | isExpandedOtl (const char *src) |
|
static bool | getContentsAsText (FS_IndexFile &indexfile, UT_WorkBuffer &contents_text, bool strip_modtime=true) |
|
static bool | getNetworkSummary (UT_IStream &is, UT_WorkBuffer &summary, const char *prefix=nullptr, bool isHipFile=false) |
|
static bool | getNetworkSummary (OP_Network *network, UT_WorkBuffer &summary, const char *prefix=nullptr, const char *root_name=nullptr) |
|
static bool | compressContents (const UT_WorkBuffer &contents_cpio, UT_CompressionType compression_type, std::ostream *os) |
|
static bool | convertContentsFromText (const UT_StringArray &files, UT_StringArray &out_delete_files) |
|
static bool | convertContentsToText (const UT_StringArray &files, bool preserve_modtime, UT_StringArray &out_delete_files) |
|
static bool | registerConversionFuncs (const UT_StringHolder &extension, ConvertSectionToTextFunc to_text, ConvertSectionFromTextFunc from_text) |
|
static bool | registerConversionFuncsEx (const UT_StringHolder &extension, ConvertSectionToTextFuncEx to_text, ConvertSectionFromTextFuncEx from_text) |
|
static const ConversionList & | getConversions () |
|
static bool | CPIOToMIME (UT_IStream &is, std::ostream &os, bool preserve_modtime, const char *externals_dest=nullptr) |
|
static bool | MIMEToCPIO (UT_IStream &is, std::ostream &os, const char *externals_dest=nullptr) |
|
static bool | CPIOToMIME (UT_IStream &is, std::ostream &os, bool preserve_modtime, const char *externals_dest, OTLConversionData *conversion_data) |
|
static bool | MIMEToCPIO (UT_IStream &is, std::ostream &os, const char *externals_dest, OTLConversionData *conversion_data) |
|
static bool | _convertContentsToText (UT_IStream &is, const UT_String &dir_name, bool preserve_modtime, std::ostream &os) |
|
static bool | _convertContentsFromText (UT_IStream &is, const UT_String &dir_name, UT_CompressionType compression_type, std::ostream &os) |
|
static UT_StringHolder | getNameFromCompression (UT_CompressionType compression_type) |
|
static UT_CompressionType | getCompressionFromName (const UT_StringHolder §ion_name) |
|
static UT_CompressionType | getCompressionFromOptionsFile (const UT_StringHolder &options_filename) |
|
Definition at line 36 of file OP_OTLUtils.h.