maxCollectionPathLength() | | Return the max length of collectionPath |
maxIdLength() | | Return the max length of _id |
maxWorkingDirectoryLength() | static | Return the max length of working directory path |
normalizeCollectionPath(collectionPath) | static | Normalized collectionPath is '' or path strings that have a trailing slash and no heading slash. Root ('/') is not allowed. Backslash \ or yen ¥ is replaced with slash /. |
testWindowsInvalidFileNameCharacter(name, options) | | Return false if the given name includes Windows invalid filename character |
testWindowsReservedFileName(name, options) | | Return false if the given name equals Windows reserved filename |
validateCollectionPath(collectionPath) | | Validate collectionPath |
validateDbName(dbName) | | Validate dbName |
validateDocument(doc) | | Validate document |
validateId(_id) | | Validate _id _id = collectionPath + shortId (not including postfix '.json') |
validateLocalDir(localDir) | | Validate localDir |