xFullPathName method

  1. @override
String xFullPathName(
  1. String path
)
override

Resolves a path name supplied by the user into a path that can be used by the other methods of this VFS.

Implementation

@override
String xFullPathName(String path) {
  final resolved = pathContext.absolute(path);
  if (!p.isWithin(chroot, resolved)) {
    throw const VfsException(SqlError.SQLITE_CANTOPEN);
  }

  return resolved;
}