Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tparton42/5783276 to your computer and use it in GitHub Desktop.
Save tparton42/5783276 to your computer and use it in GitHub Desktop.
Example output from custom ColdFusion function, getFreeSpace()
<cfset variables.structTest = structNew()/>
<!--- Determine the current file path --->
<cfset variables.structTest.current_folder = expandPath("/") />
<!--- Lookup free space based on the passed in file path --->
<cfset variables.structTest.freeSpace = numberFormat(getFreeSpace(variables.structTest.current_folder)) />
<cfdump var="#variables.structTest#" label="structTest" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment