Home / Function/ fromString() — astro Function Reference

fromString() — astro Function Reference

Architecture documentation for the fromString() function in mutable-data-store.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  b9b63c11_6a4e_7397_8529_58f75e95637b["fromString()"]
  ecb98618_124a_e276_dd98_561beaedc6ea["MutableDataStore"]
  b9b63c11_6a4e_7397_8529_58f75e95637b -->|defined in| ecb98618_124a_e276_dd98_561beaedc6ea
  984300fd_1eec_d077_7646_e72d4b799e08["fromFile()"]
  984300fd_1eec_d077_7646_e72d4b799e08 -->|calls| b9b63c11_6a4e_7397_8529_58f75e95637b
  29d3d61f_52dd_6593_ded5_0d3ab95005c7["fromMap()"]
  b9b63c11_6a4e_7397_8529_58f75e95637b -->|calls| 29d3d61f_52dd_6593_ded5_0d3ab95005c7
  style b9b63c11_6a4e_7397_8529_58f75e95637b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/content/mutable-data-store.ts lines 426–429

	static async fromString(data: string) {
		const map = devalue.parse(data);
		return MutableDataStore.fromMap(map);
	}

Subdomains

Calls

Called By

Frequently Asked Questions

What does fromString() do?
fromString() is a function in the astro codebase, defined in packages/astro/src/content/mutable-data-store.ts.
Where is fromString() defined?
fromString() is defined in packages/astro/src/content/mutable-data-store.ts at line 426.
What does fromString() call?
fromString() calls 1 function(s): fromMap.
What calls fromString()?
fromString() is called by 1 function(s): fromFile.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free