MCPcopy Create free account
hub / github.com/apache/arrow / validate_arrow_sources

Function validate_arrow_sources

dev/archery/archery/utils/cli.py:44–51  ·  view source on GitHub ↗

Ensure a directory contains Arrow cpp sources.

(ctx, param, src)

Source from the content-addressed store, hash-verified

42
43
44def validate_arrow_sources(ctx, param, src):
45 """
46 Ensure a directory contains Arrow cpp sources.
47 """
48 try:
49 return ArrowSources.find(src)
50 except InvalidArrowSource as e:
51 raise click.BadParameter(str(e))
52
53
54def add_optional_command(name, module, function, parent):

Callers

nothing calls this directly

Calls 1

findMethod · 0.45

Tested by

no test coverage detected