Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit52064b7

Browse files
committed
add comment
1 parente61080f commit52064b7

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

‎provisionersdk/tfpath/tfpath.go‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,17 @@ const (
2626
sessionDirPrefix="Session"
2727
)
2828

29-
funcSession(parent,sessionIDstring)Layout {
30-
returnLayout(filepath.Join(parent,sessionDirPrefix+sessionID))
29+
// Session creates a directory structure layout for terraform execution. The
30+
// SessionID is a unique value for creating an ephemeral working directory inside
31+
// the parentDirPath. All helper functions will return paths for various
32+
// terraform asserts inside this working directory.
33+
funcSession(parentDirPath,sessionIDstring)Layout {
34+
returnLayout(filepath.Join(parentDirPath,sessionDirPrefix+sessionID))
3135
}
3236

37+
// Layout is the terraform execution working directory structure.
38+
// It also contains some methods for common file operations within that layout.
39+
// Such as "Cleanup" and "ExtractArchive".
3340
// TODO: Maybe we should include the afero.FS here as well, then all operations
3441
// would be on the same FS?
3542
typeLayoutstring

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp