中文
Node Documentation

Break file metadata

DataTarget independentstructure.break-file-metadata

Exposes path, name, extension, media type, size, modified time, and directory flag.

Example use

Connect an upstream result, inspect file size, extension and modification time from metadata, and pass the required fields to later nodes.

Node preview

Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.

Loading node preview…

Data inputs 1

ValuevalueFile metadata

The value operated on; supply structured data of the type shown and see the node description for its role.

RequiredDefault: None
Value format examples
{"extension":"","isDirectory":false,"mediaType":"application/octet-stream","modifiedUnixMillis":0,"name":".","path":".","size":0}

Data outputs 7

ExtensionextensionString

Durable Unicode text.

Is directoryis-directoryBoolean

A strict true or false value.

Media typemedia-typeString

Durable Unicode text.

Modified timemodified-unix-millisInteger

An exact integer within the interoperable JSON safe range.

  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
NamenameString

The output field name used by later nodes.

PathpathString

The path to process; use a text path or typed path data as indicated below.

SizesizeInteger

An exact integer within the interoperable JSON safe range.

  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
Version and node identity

Version 1.0.0

sha256:63724cd2b9ac2d5bab675979d7e93482bcf2e7875b20ccafbcca9c8bdb9936ab