MCPcopy
hub / github.com/reflex-dev/reflex / get_web_dir

Function get_web_dir

reflex/utils/prerequisites.py:46–54  ·  view source on GitHub ↗

Get the working directory for the frontend. Can be overridden with REFLEX_WEB_WORKDIR. Returns: The working directory.

()

Source from the content-addressed store, hash-verified

44
45
46def get_web_dir() -> Path:
47 """Get the working directory for the frontend.
48
49 Can be overridden with REFLEX_WEB_WORKDIR.
50
51 Returns:
52 The working directory.
53 """
54 return environment.REFLEX_WEB_WORKDIR.get()
55
56
57def get_states_dir() -> Path:

Callers 15

compile_embed_manifestFunction · 0.90
_static_dirFunction · 0.90
run_backendFunction · 0.90
get_web_lockfile_pathFunction · 0.90
initialize_web_directoryFunction · 0.90
update_entry_clientFunction · 0.90
initialize_package_jsonFunction · 0.90
initialize_vite_configFunction · 0.90
initialize_bun_configFunction · 0.90

Calls 1

getMethod · 0.45

Tested by 1

_static_dirFunction · 0.72