Returns a filepath string with ~ expanded to the home directory.
Using pathexpand
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function pathexpand(args: PathexpandArgs, opts?: InvokeOptions): Promise<PathexpandResult>
function pathexpandOutput(args: PathexpandOutputArgs, opts?: InvokeOptions): Output<PathexpandResult>def pathexpand(input: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> PathexpandResult
def pathexpand_output(input: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[PathexpandResult]func Pathexpand(ctx *Context, args *PathexpandArgs, opts ...InvokeOption) (*PathexpandResult, error)
func PathexpandOutput(ctx *Context, args *PathexpandOutputArgs, opts ...InvokeOption) PathexpandResultOutput> Note: This function is named Pathexpand in the Go SDK.
public static class Pathexpand
{
public static Task<PathexpandResult> InvokeAsync(PathexpandArgs args, InvokeOptions? opts = null)
public static Output<PathexpandResult> Invoke(PathexpandInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<PathexpandResult> pathexpand(PathexpandArgs args, InvokeOptions options)
public static Output<PathexpandResult> pathexpand(PathexpandArgs args, InvokeOptions options)
fn::invoke:
function: std:pathexpand
arguments:
# arguments dictionaryThe following arguments are supported:
- Input string
- Input string
- input String
- input string
- input str
- input String
pathexpand Result
The following output properties are available:
- Result string
- Result string
- result String
- result string
- result str
- result String
Package Details
- Repository
- std pulumi/pulumi-std
- License
