MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / SlashToNative

Function SlashToNative

Libraries/unrar/pathfn.hpp:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38void DosSlashToUnix(const wchar *SrcName,wchar *DestName,size_t MaxLength);
39
40inline void SlashToNative(const char *SrcName,char *DestName,size_t MaxLength)
41{
42#ifdef _WIN_ALL
43 UnixSlashToDos(SrcName,DestName,MaxLength);
44#else
45 DosSlashToUnix(SrcName,DestName,MaxLength);
46#endif
47}
48
49inline void SlashToNative(const wchar *SrcName,wchar *DestName,size_t MaxLength)
50{

Callers 2

ExtractHardlinkFunction · 0.85
ExtractFileCopyMethod · 0.85

Calls 2

UnixSlashToDosFunction · 0.85
DosSlashToUnixFunction · 0.85

Tested by

no test coverage detected