diff options
author | Justin Clark-Casey (justincc) | 2012-01-05 21:05:10 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-01-05 21:05:10 +0000 |
commit | f06acc0a854980fd66426103892742580e057974 (patch) | |
tree | e48f1dc08f9d5ed16a6216643643d2f4504e1abb /OpenSim | |
parent | Rename 'show digest' console command to 'show asset' (diff) | |
download | opensim-SC_OLD-f06acc0a854980fd66426103892742580e057974.zip opensim-SC_OLD-f06acc0a854980fd66426103892742580e057974.tar.gz opensim-SC_OLD-f06acc0a854980fd66426103892742580e057974.tar.bz2 opensim-SC_OLD-f06acc0a854980fd66426103892742580e057974.tar.xz |
Add size and temporary information to "show asset" command
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Server/Handlers/Asset/AssetServerConnector.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Asset/AssetServerConnector.cs b/OpenSim/Server/Handlers/Asset/AssetServerConnector.cs index 61718f1..5dcb33b 100644 --- a/OpenSim/Server/Handlers/Asset/AssetServerConnector.cs +++ b/OpenSim/Server/Handlers/Asset/AssetServerConnector.cs | |||
@@ -175,6 +175,8 @@ namespace OpenSim.Server.Handlers.Asset | |||
175 | MainConsole.Instance.OutputFormat("Description: {0}", asset.Description); | 175 | MainConsole.Instance.OutputFormat("Description: {0}", asset.Description); |
176 | MainConsole.Instance.OutputFormat("Type: {0} (type number = {1})", (AssetType)asset.Type, asset.Type); | 176 | MainConsole.Instance.OutputFormat("Type: {0} (type number = {1})", (AssetType)asset.Type, asset.Type); |
177 | MainConsole.Instance.OutputFormat("Content-type: {0}", asset.Metadata.ContentType); | 177 | MainConsole.Instance.OutputFormat("Content-type: {0}", asset.Metadata.ContentType); |
178 | MainConsole.Instance.OutputFormat("Size: {0} bytes", asset.Data.Length); | ||
179 | MainConsole.Instance.OutputFormat("Temporary: {0}", asset.Temporary ? "yes" : "no"); | ||
178 | MainConsole.Instance.OutputFormat("Flags: {0}", asset.Metadata.Flags); | 180 | MainConsole.Instance.OutputFormat("Flags: {0}", asset.Metadata.Flags); |
179 | 181 | ||
180 | for (i = 0 ; i < 5 ; i++) | 182 | for (i = 0 ; i < 5 ; i++) |