ActiveUI

ActiveUI

  • User Guide
  • Developer Documentation

Home > @activeviam/activeui-sdk > ContentServer > getFile

ContentServer.getFile property

Retrieve the file found at the given path. If the file is a directory, list all its accessible children, by default recursively. recursive is the maximum depth at which to retrieve children. -1 means that all available children are retrieved, 0 means that only the directory itself is retrieved. When metadata is true, only the metadata of the entries will be retrieved. Their content will be omitted.

Signature:

getFile: (path: ContentServerPath, recursive: number, metadata: boolean) => Promise<void>;
  • ContentServer.getFile property
Copyright © 2023 ActiveViam