MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / GetInstance

Method GetInstance

src/io/local_filesys.h:54–57  ·  view source on GitHub ↗

! * \brief get a singleton of LocalFileSystem when needed * \return a singleton instance */

Source from the content-addressed store, hash-verified

52 * \return a singleton instance
53 */
54 inline static LocalFileSystem *GetInstance(void) {
55 static LocalFileSystem instance;
56 return &instance;
57 }
58
59 private:
60 LocalFileSystem() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected